问题描述:
Property binding ngForOf not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations"
解决:add CommonModule into your component
import { BrowserModule } from '@angular/platform-browser';