File tree 1 file changed +4
-4
lines changed
.docs/angular-meteor/client/content/tutorials/angular2/steps
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ Let's make a checklist of what we need to get our router working. We'll go over
32
32
33
33
* imports from ` 'angular2/router' `
34
34
* ` @RouteConfig() ` which will specify our routes soon
35
- * View directives adding ` RouterOutlet ` and ` RouterLink `
36
- * inject ` routerInjectables ` into the child components
35
+ * View directives adding ` ROUTER_DIRECTIVES ` , which include ` RouterOutlet ` and ` RouterLink `
36
+ * inject ` ROUTER_BINDINGS ` into the child components
37
37
* a location in the view where components will be created, the ` <router-outlet></router-outlet> `
38
38
39
39
Be sure to declare the base route in ` index.html ` (required when using the HTML5LocationStrategy, rather than the HashLocationStategy).
@@ -87,10 +87,10 @@ Good. Now our app structure looks like this:
87
87
Think of dependencies in Angular as a trees. The final line:
88
88
89
89
bootstrap(Socially, [
90
- routerInjectables
90
+ ROUTER_BINDINGS
91
91
]);
92
92
93
- Here, the dependencies such as ` routerInjectables ` are passed to all of Socially's components on bootstrapping.
93
+ Here, the dependencies such as ` ROUTER_BINDINGS ` are passed to all of Socially's components on bootstrapping.
94
94
95
95
## Party Details
96
96
You can’t perform that action at this time.
0 commit comments