File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
modules/angular2/src/router Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 11import { Promise , PromiseWrapper } from 'angular2/src/facade/async' ;
22import { List , ListWrapper } from 'angular2/src/facade/collection' ;
33import { Instruction } from './instruction' ;
4+ import { Injectable } from 'angular2/di' ;
45
56/**
67 * Responsible for performing each step of navigation.
78 * "Steps" are conceptually similar to "middleware"
89 */
10+ @Injectable ( )
911export class Pipeline {
1012 steps : List < Function > ;
1113
Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ import {
2020} from 'angular2/src/facade/lang' ;
2121import { RouteConfig } from './route_config_impl' ;
2222import { reflector } from 'angular2/src/reflection/reflection' ;
23+ import { Injectable } from 'angular2/di' ;
2324
2425/**
2526 * The RouteRegistry holds route configurations for each component in an Angular app.
2627 * It is responsible for creating Instructions from URLs, and generating URLs based on route and
2728 * parameters.
2829 */
30+ @Injectable ( )
2931export class RouteRegistry {
3032 _rules : Map < any , RouteRecognizer > ;
3133
You can’t perform that action at this time.
0 commit comments