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

docs(router): fix typo originally identified by PR #2945 #2962

Merged
merged 1 commit into from
Dec 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions public/docs/ts/latest/guide/router.jade
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,13 @@ include ../../../_includes/_see-addr-bar
We cover other options in the [details below](#browser-url-styles).
:marked
### Configuration
The application will have one *`router`*. When the browser's URL changes, the router looks for a corresponding **`Route`**
The application will have one, singleton instance of the *`Router`* service.
When the browser's URL changes, that router looks for a corresponding **`Route`**
from which it can determine the component to display.

A router has no routes until we configure it.
We bootstrap our application with an array of routes that we'll provide to our **`RouterModule.forRoot`** function.

In the following example, we configure our application with four route definitions. The configured `RouterModule` is
add to the `AppModule`'s `imports` array.
In the following example, we create four route definitions, configure the router via the **`RouterModule.forRoot`** method,
and add the result to the `AppModule`'s `imports` array.

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

Expand Down