You need to add CommonModule at the "imports" metadata property of your module in your Angular 4 application to make this error go way. Also, import it like so:
import { CommonModule } from '@angular/common';
No comments:
Post a Comment