CodePudding user response:
It's pretty hard to tell whats wrong from only that screenshot. The best would be to post an example Git repo so we can check out your complete code.
But the first thing that comes to my mind is that you maybe forgot to import { CommonModule } from '@angular/common';