This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree 1 file changed +2
-2
lines changed
public/docs/ts/latest/guide
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1392,7 +1392,7 @@ a#q-root-component-or-module
1392
1392
### Should I add providers to the root _AppModule_ or the root _AppComponent_?
1393
1393
1394
1394
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
1396
1396
the root `AppComponent` (`@Component.providers`)?
1397
1397
1398
1398
**_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
1490
1490
We must tell it about them ... by adding them to the `entryComponents` list.
1491
1491
1492
1492
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
1494
1494
1. components referenced in router configuration
1495
1495
1496
1496
We don't have to mention these components explicitly although it does not harm to do so.
You can’t perform that action at this time.
0 commit comments