docs(toh): fix spelling of ActivateRoute to ActivatedRoute (#2400)

* fixed spelling of ActivateRoute to ActivatedRoute

* dont do cache
This commit is contained in:
John Papa 2016-09-18 12:34:32 -04:00 committed by Jesús Rodríguez
parent 665c346d8f
commit 159b196baf
1 changed files with 1 additions and 1 deletions

View File

@ -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')