docs: fix typo in Observables in Angular guide (#33509)
change `ActivateRoute` to `ActivatedRoute` PR Close #33509
This commit is contained in:
parent
4099822ba2
commit
64ac106248
|
@ -42,7 +42,7 @@ The following example binds the `time` observable to the component's view. The o
|
|||
|
||||
<code-example path="observables-in-angular/src/main.ts" header="Router events" region="router"></code-example>
|
||||
|
||||
The [ActivatedRoute](https://angular.io/api/router/ActivatedRoute) is an injected router service that makes use of observables to get information about a route path and parameters. For example, `ActivateRoute.url` contains an observable that reports the route path or paths. Here's an example:
|
||||
The [ActivatedRoute](https://angular.io/api/router/ActivatedRoute) is an injected router service that makes use of observables to get information about a route path and parameters. For example, `ActivatedRoute.url` contains an observable that reports the route path or paths. Here's an example:
|
||||
|
||||
<code-example path="observables-in-angular/src/main.ts" header="ActivatedRoute" region="activated_route"></code-example>
|
||||
|
||||
|
|
Loading…
Reference in New Issue