This post shows you how to solve Can't bind to 'ngModel' since it isn't a known property of 'input' in Angular.
Uncaught Error: Template parse errors:
Can't bind to 'ngModel' since it isn't a known property of 'input'.
To solve the problem you should open the app.module.ts then import the FormsModule.
import { FormsModule } from '@angular/forms';
@NgModule({
imports: [
...,
FormsModule
],
...
})
I hope so you can fix the problem Can't bind to 'ngModel' since it isn't a known property of 'input'.