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

Commit 917bf6f

Browse files
trotylwardbell
authored andcommitted
docs(ngmodule): Fix typo
closes #2103 Another two `@NgModel` typos.
1 parent f13b4cc commit 917bf6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ a#q-root-component-or-module
13921392
### Should I add providers to the root _AppModule_ or the root _AppComponent_?
13931393

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

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

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

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

0 commit comments

Comments
 (0)