docs(aio): Fix reference to the right example

Fix reference to the right example (it's the second route in the example the one showing the route parameter, not the first one)
This commit is contained in:
Santi 2017-04-19 11:30:02 +02:00 committed by Pete Bacon Darwin
parent 51098c4f86
commit c9983e6440
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ There are _no leading slashes_ in the _path_.
The router parses and builds the final URL for you, The router parses and builds the final URL for you,
allowing you to use both relative and absolute paths when navigating between application views. allowing you to use both relative and absolute paths when navigating between application views.
The `:id` in the first route is a token for a route parameter. In a URL such as `/hero/42`, "42" The `:id` in the second route is a token for a route parameter. In a URL such as `/hero/42`, "42"
is the value of the `id` parameter. The corresponding `HeroDetailComponent` is the value of the `id` parameter. The corresponding `HeroDetailComponent`
will use that value to find and present the hero whose `id` is 42. will use that value to find and present the hero whose `id` is 42.
You'll learn more about route parameters later in this guide. You'll learn more about route parameters later in this guide.