From 97ef1c27df708f69f28414b3aae50ed875e44432 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Mon, 13 Jul 2015 16:13:20 -0700 Subject: [PATCH] fix(router): export lifecycle hooks in bundle --- modules/angular2/router.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/angular2/router.ts b/modules/angular2/router.ts index aa9bb6d4ff..a99e5f4da6 100644 --- a/modules/angular2/router.ts +++ b/modules/angular2/router.ts @@ -16,6 +16,8 @@ export {HTML5LocationStrategy} from './src/router/html5_location_strategy'; export {Location, appBaseHrefToken} from './src/router/location'; export {Pipeline} from './src/router/pipeline'; export * from './src/router/route_config_decorator'; +export {OnActivate, OnDeactivate, OnReuse, CanDeactivate, CanReuse} from './src/router/interfaces'; +export {CanActivate} from './src/router/lifecycle_annotations'; import {LocationStrategy} from './src/router/location_strategy'; import {HTML5LocationStrategy} from './src/router/html5_location_strategy';