diff --git a/aio/content/start/routing.md b/aio/content/start/routing.md index 7c9c0510cf..37ce975334 100644 --- a/aio/content/start/routing.md +++ b/aio/content/start/routing.md @@ -90,8 +90,16 @@ The product details component handles the display of each product. The Angular R + Angular calls `ngOnInit()` shortly after creating a component. + The route parameters correspond to the path variables defined in the route. The `productId` is provided from - the URL that was matched to the route. You use the `productId` to display the details for each unique product. + the URL that was matched to the route. You use the `productId` to display the details for each unique product. + +
+ + For more information on `ngOnInit()`, see [Lifecycle hooks](guide/lifecycle-hooks). + +
1. Update the template to display product details information inside an `*ngIf`.