docs: Corrected spelling (#42493)
Corrected spelling of 'Properties'. PR Close #42493
This commit is contained in:
parent
cd22c7a1f5
commit
5d70f09032
|
@ -118,7 +118,7 @@ what component your application should display for that path.
|
|||
<code-example header="src/app/app.module.ts" path="router-tutorial/src/app/app.module.ts" region="import-basic"></code-example>
|
||||
|
||||
This code adds the `RouterModule` to the `imports` array. Next, the code uses the `forRoot()` method of the `RouterModule` to
|
||||
define your two routes. This method takes an array of JavaScript objects, with each object defining the proprties of a route.
|
||||
define your two routes. This method takes an array of JavaScript objects, with each object defining the properties of a route.
|
||||
The `forRoot()` method ensures that your application only instantiates one `RouterModule`. For more information, see
|
||||
[Singleton Services](/guide/singleton-services#forroot-and-the-router).
|
||||
|
||||
|
|
Loading…
Reference in New Issue