docs(router): fixed verbiage about router-outlet (#2746)

This commit is contained in:
Ward Bell 2016-11-14 10:35:48 -08:00 committed by GitHub
commit d63b1ccea3
1 changed files with 2 additions and 2 deletions

View File

@ -143,10 +143,10 @@ include ../_util-fns
### Router Outlet ### Router Outlet
Given this configuration, when the browser URL for this application becomes `/heroes`, Given this configuration, when the browser URL for this application becomes `/heroes`,
the router matches that URL to the `Route` path `/heroes` and displays the `HeroListComponent` the router matches that URL to the `Route` path `/heroes` and displays the `HeroListComponent`
in a **`RouterOutlet`** that we've placed in the host view's HTML. ***after*** a **`RouterOutlet`** that we've placed in the host view's HTML.
code-example(language="html"). code-example(language="html").
<!-- Routed views go here -->
<router-outlet></router-outlet> <router-outlet></router-outlet>
<!-- Routed views go here -->
:marked :marked
### Router Links ### Router Links
Now we have routes configured and a place to render them, but Now we have routes configured and a place to render them, but