docs(toh): fix spelling of ActivateRoute to ActivatedRoute (#2400)
* fixed spelling of ActivateRoute to ActivatedRoute * dont do cache
This commit is contained in:
parent
665c346d8f
commit
159b196baf
|
@ -536,7 +536,7 @@ block route-params
|
||||||
block ngOnInit
|
block ngOnInit
|
||||||
:marked
|
:marked
|
||||||
Inside the `ngOnInit` lifecycle hook, we use the `params` observable to
|
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`.
|
and use the `HeroService` to fetch the hero with that `id`.
|
||||||
|
|
||||||
+makeExcerpt('app/hero-detail.component.ts', 'ngOnInit')
|
+makeExcerpt('app/hero-detail.component.ts', 'ngOnInit')
|
||||||
|
|
Loading…
Reference in New Issue