can t bind to 'ngforof' since it isn t a known property of div angular 9 code example
Example 1: Can't bind to 'ngModel' since it isn't a known property of 'input'.
import { FormsModule } from '@angular/forms';
[...]
@NgModule({
imports: [
[...]
FormsModule
],
[...]
})
Example 2: Can't bind to 'ngForOf' since it isn't a known property of 'div'.
import { BrowserModule } from '@angular/platform-browser'
..
..
@NgModule({
imports: [BrowserModule, ],
..
})
Example 3: Can't bind to 'ngForOf' since it isn't a known property of 'th'
import { CommonModule } from '@angular/common';
imports: [CommonModule]