error vendor.js:20784 NG0303: Can't bind to 'ngForOf' since it isn't a known property of 'li' code example
Example: Can't bind to 'ngForOf' since it isn't a known property of 'div'.
// older Angular versions
// import {BrowserModule, CommonModule} from '@angular/common';
import { BrowserModule } from '@angular/platform-browser'
..
..
@NgModule({
imports: [BrowserModule, /* or CommonModule */],
..
})