feat(router.js): export routerDirectives

This commit is contained in:
gdi2290 2015-05-21 16:38:43 -07:00 committed by Victor Berchet
parent 1ad6558229
commit 1f20ef9787
1 changed files with 8 additions and 0 deletions

View File

@ -15,11 +15,19 @@ export * from './src/router/route_config_decorator';
import {BrowserLocation} from './src/router/browser_location'; import {BrowserLocation} from './src/router/browser_location';
import {Router, RootRouter} from './src/router/router'; import {Router, RootRouter} from './src/router/router';
import {RouterOutlet} from './src/router/router_outlet';
import {RouterLink} from './src/router/router_link';
import {RouteRegistry} from './src/router/route_registry'; import {RouteRegistry} from './src/router/route_registry';
import {Pipeline} from './src/router/pipeline'; import {Pipeline} from './src/router/pipeline';
import {Location} from './src/router/location'; import {Location} from './src/router/location';
import {appComponentTypeToken} from './src/core/application_tokens'; import {appComponentTypeToken} from './src/core/application_tokens';
import {bind} from './di'; import {bind} from './di';
import {CONST_EXPR} from './src/facade/lang';
export const routerDirectives:List = CONST_EXPR([
RouterOutlet,
RouterLink
]);
export var routerInjectables:List = [ export var routerInjectables:List = [
RouteRegistry, RouteRegistry,