Angular error Can't bind to 'ngModel' since it isn't a known property of div code example
Example: Can't bind to 'ngModel' since it isn't a known property of 'input'
import { FormsModule } from '@angular/forms';
[...]
@NgModule({
imports: [
[...]
FormsModule
],
[...]
})