Angular - Template-Driven Forms
Given this Angular module setup:
What will happen if you remove
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, FormsModule],
bootstrap: [AppComponent]
})
export class AppModule {}What will happen if you remove
FormsModule from the imports array but keep using [(ngModel)] in templates?