Video 16- Solution. I am getting below error message
Compiled with problems:X
ERROR
src/app/app.component.html:5:20 - error NG8002: Can’t bind to ‘ngModel’ since it isn’t a known property of ‘input’.
5 <input type=“text” [(ngModel)]=“title”>
~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:6:16
6 templateUrl: ‘./app.component.html’,
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
ERROR
src/app/app.component.html:5:33 - error TS2322: Type ‘Event’ is not assignable to type ‘string’.
5 <input type=“text” [(ngModel)]=“title”>
~~~~~~~
6
7 {{title}}
src/app/app.component.ts:6:16
6 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.