error NG8002: Can't bind to 'ngModel' since it isn't a known property of 'input'. 5 <input type ="text"[(ngModel)]="name"> 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
],
[...]
})