parent
08dec19447
commit
fb585fae74
@ -548,7 +548,7 @@ a#feature-modules
|
|||||||
The `ContactModule` must import `FormsModule` explicitly so that
|
The `ContactModule` must import `FormsModule` explicitly so that
|
||||||
`ContactComponent` can data bind with `ngModel`.
|
`ContactComponent` can data bind with `ngModel`.
|
||||||
:marked
|
:marked
|
||||||
We also swapped `CommonModule` for `BrowserModule` for reasons we explain [soon](#root-vs-feature-module).
|
We also replaced `BrowserModule` by `CommonModule` for reasons we explain [soon](#root-vs-feature-module).
|
||||||
|
|
||||||
We _declare_ the contact component, directive, and pipe in the module `declarations`.
|
We _declare_ the contact component, directive, and pipe in the module `declarations`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user