Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 5e38076

Browse files
authored
docs(router): fix typo originally identified by PR #2945 (#2962)
1 parent 2b1df04 commit 5e38076

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

public/docs/ts/latest/guide/router.jade

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,13 @@ include ../../../_includes/_see-addr-bar
9494
We cover other options in the [details below](#browser-url-styles).
9595
:marked
9696
### Configuration
97-
The application will have one *`router`*. When the browser's URL changes, the router looks for a corresponding **`Route`**
97+
The application will have one, singleton instance of the *`Router`* service.
98+
When the browser's URL changes, that router looks for a corresponding **`Route`**
9899
from which it can determine the component to display.
99100

100101
A router has no routes until we configure it.
101-
We bootstrap our application with an array of routes that we'll provide to our **`RouterModule.forRoot`** function.
102-
103-
In the following example, we configure our application with four route definitions. The configured `RouterModule` is
104-
add to the `AppModule`'s `imports` array.
102+
In the following example, we create four route definitions, configure the router via the **`RouterModule.forRoot`** method,
103+
and add the result to the `AppModule`'s `imports` array.
105104

106105
+makeExcerpt('app/app.module.0.ts (excerpt)', 'route-config')
107106

0 commit comments

Comments
 (0)