import { FormsModule } from '@angular/forms'; code example Example: import form module in angular 8 import { FormsModule } from '@angular/forms';