Skip to content

Commit f91c41e

Browse files
committed
ng2 tutorial: updated step 5 for angular2 alpha 36
1 parent 7c0374a commit f91c41e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.docs/angular-meteor/client/content/tutorials/angular2/steps/tutorialAngular2.step_05.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Let's make a checklist of what we need to get our router working. We'll go over
3232

3333
* imports from `'angular2/router'`
3434
* `@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
3737
* a location in the view where components will be created, the `<router-outlet></router-outlet>`
3838

3939
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:
8787
Think of dependencies in Angular as a trees. The final line:
8888

8989
bootstrap(Socially, [
90-
routerInjectables
90+
ROUTER_BINDINGS
9191
]);
9292

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.
9494

9595
## Party Details
9696

0 commit comments

Comments
 (0)