diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index 2bab094724..1ea7702e1d 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -536,7 +536,7 @@ block route-params block ngOnInit :marked Inside the `ngOnInit` lifecycle hook, we use the `params` observable to - extract the `id` parameter value from the `ActivateRoute` service + extract the `id` parameter value from the `ActivatedRoute` service and use the `HeroService` to fetch the hero with that `id`. +makeExcerpt('app/hero-detail.component.ts', 'ngOnInit')