docs: fix typo in getting-started/routing (#29676)

PR Close #29676
This commit is contained in:
musou1500 2019-04-03 08:44:59 +09:00 committed by Jason Aden
parent 96b76dc3f1
commit eaa49bdc04
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ The app is already set up to use the Angular router and to use routing to naviga
To do: I see a comment line with ellipses between the closing of h3 and div. It's an interesting way to show that we've clipped out some code. Should we use this elsewhere?
-->
The RouterLink directive gives the router control over the anchor element. In this case, the route (URL) contains one fixed segment (`/products`) and the final segment is variable, inserting the id property of the current product. For example, the URL for a product with an `id` of 1 will be similar to `https://getting-started-myfork.stackblitz.io.products/1`.
The RouterLink directive gives the router control over the anchor element. In this case, the route (URL) contains one fixed segment (`/products`) and the final segment is variable, inserting the id property of the current product. For example, the URL for a product with an `id` of 1 will be similar to `https://getting-started-myfork.stackblitz.io/products/1`.
1. Test the router by clicking a product name. The app displays the product details component, which currently always says "product-details works!" (We'll fix this in the next section.)