/** * @module * @description * Maps application URLs into application states, to support deep-linking and navigation. */ export { Router } from './src/router/router'; export { RouterOutlet } from './src/router/directives/router_outlet'; export { RouterLink } from './src/router/directives/router_link'; export { RouteParams, RouteData } from './src/router/instruction'; export { PlatformLocation } from './src/router/location/platform_location'; export { RouteRegistry, ROUTER_PRIMARY_COMPONENT } from './src/router/route_registry'; export { LocationStrategy, APP_BASE_HREF } from './src/router/location/location_strategy'; export { HashLocationStrategy } from './src/router/location/hash_location_strategy'; export { PathLocationStrategy } from './src/router/location/path_location_strategy'; export { Location } from './src/router/location/location'; export * from './src/router/route_config/route_config_decorator'; export * from './src/router/route_definition'; export { CanActivate } from './src/router/lifecycle/lifecycle_annotations'; export { Instruction, ComponentInstruction } from './src/router/instruction'; export { OpaqueToken } from 'angular2/core'; export { ROUTER_PROVIDERS_COMMON } from 'angular2/src/router/router_providers_common'; export { ROUTER_PROVIDERS, ROUTER_BINDINGS } from 'angular2/src/router/router_providers'; import { RouterOutlet } from './src/router/directives/router_outlet'; import { RouterLink } from './src/router/directives/router_link'; import { CONST_EXPR } from './src/facade/lang'; /** * A list of directives. To use the router directives like {@link RouterOutlet} and * {@link RouterLink}, add this to your `directives` array in the {@link View} decorator of your * component. * * ### Example ([live demo](http://plnkr.co/edit/iRUP8B5OUbxCWQ3AcIDm)) * * ``` * import {Component} from 'angular2/core'; * import {ROUTER_DIRECTIVES, ROUTER_PROVIDERS, RouteConfig} from 'angular2/router'; * * @Component({directives: [ROUTER_DIRECTIVES]}) * @RouteConfig([ * {...}, * ]) * class AppCmp { * // ... * } * * bootstrap(AppCmp, [ROUTER_PROVIDERS]); * ``` */ export const ROUTER_DIRECTIVES = CONST_EXPR([RouterOutlet, RouterLink]); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYW5ndWxhcjIvcm91dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFw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