feat(router): add support for using classes as guard

This commit is contained in:
vsavkin
2016-06-02 15:29:15 -07:00
parent f04b6978fb
commit f34af4f249
5 changed files with 81 additions and 5 deletions

View File

@ -6,6 +6,7 @@ export { RouterOutletMap } from './router_outlet_map';
export { RouterConfig, Route } from './config';
export { Params, PRIMARY_OUTLET } from './shared';
export { provideRouter } from './router_providers';
export { CanActivate, CanDeactivate } from './interfaces';
import { RouterOutlet } from './directives/router_outlet';
import { RouterLink } from './directives/router_link';