docs(ngmodule-faq): correct BrowserModule
import module (#2269)
This commit is contained in:
parent
761c256881
commit
e1b2f6a2fe
@ -166,7 +166,7 @@ a#q-browser-vs-common-module
|
|||||||
### Should I import _BrowserModule_ or _CommonModule_?
|
### Should I import _BrowserModule_ or _CommonModule_?
|
||||||
|
|
||||||
The **root application module** (`AppModule`) of almost every browser application
|
The **root application module** (`AppModule`) of almost every browser application
|
||||||
should import `BrowserModule` from `@angular/core`.
|
should import `BrowserModule` from `@angular/platform-browser`.
|
||||||
|
|
||||||
`BrowserModule` provides services that are essential to launch and run a browser app.
|
`BrowserModule` provides services that are essential to launch and run a browser app.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user