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

docs(ngmodule): Fix typo #2103

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions public/docs/ts/latest/guide/ngmodule.jade
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ a#q-root-component-or-module
### Should I add providers to the root _AppModule_ or the root _AppComponent_?

Most apps launch with an initial set of service providers.
Should we register those providers on the root `AppModule` (`@NgModel.providers`) or
Should we register those providers on the root `AppModule` (`@NgModule.providers`) or
the root `AppComponent` (`@Component.providers`)?

**_List such providers in the root_ `AppModule` _unless you have a compelling reason to do otherwise_**.
Expand Down Expand Up @@ -1490,7 +1490,7 @@ a#q-entry-component-defined
We must tell it about them ... by adding them to the `entryComponents` list.

Angular automatically adds two kinds of components to the module's `entryComponents`:
1. the component in the `@NgModel.bootstrap` list
1. the component in the `@NgModule.bootstrap` list
1. components referenced in router configuration

We don't have to mention these components explicitly although it does not harm to do so.
Expand Down