docs(router): fix typo 'containa' to 'contains' (#36764)
Closes #36763 PR Close #36764
This commit is contained in:
parent
62e19c8813
commit
0eaa084ced
|
@ -178,7 +178,7 @@ Replace the contents of each component with the sample HTML below.
|
||||||
|
|
||||||
In order to use the `Router`, you must first register the `RouterModule` from the `@angular/router` package.
|
In order to use the `Router`, you must first register the `RouterModule` from the `@angular/router` package.
|
||||||
Define an array of routes, `appRoutes`, and pass them to the `RouterModule.forRoot()` method.
|
Define an array of routes, `appRoutes`, and pass them to the `RouterModule.forRoot()` method.
|
||||||
The `RouterModule.forRoot()` method returns a module that containa the configured `Router` service provider, plus other providers that the routing library requires.
|
The `RouterModule.forRoot()` method returns a module that contains the configured `Router` service provider, plus other providers that the routing library requires.
|
||||||
Once the application is bootstrapped, the `Router` performs the initial navigation based on the current browser URL.
|
Once the application is bootstrapped, the `Router` performs the initial navigation based on the current browser URL.
|
||||||
|
|
||||||
<div class="alert is-important">
|
<div class="alert is-important">
|
||||||
|
|
Loading…
Reference in New Issue