I\'ve got the following error when launching my Angular app, even if the component is not displayed.
I have to comment out the so that my
ngModel is the part of FormsModule. And it should be imported from @angular/forms to work with ngModel.
Please change the app.module.ts as follow:
import { FormsModule } from '@angular/forms'; [...] @NgModule({ imports: [ [...] FormsModule ], [...] })