File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
.docs/angular-meteor/client/content/tutorials/angular2/steps Expand file tree Collapse file tree 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
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
3939Be 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:
8787Think 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
You can’t perform that action at this time.
0 commit comments