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
If you need to use [(ngModel)]
first do you need to import FormsModule
in app.module.ts
and then add in a list of imports. Something like this:
app.module.ts
import {FormsModule} from "@angular/forms";
imports: [
BrowserModule,
FormsModule
],
app.component.ts
your name is: {{name}}