- This code is throwing exception
Uncaught Error: Template parse errors: Can't bind to 'ngforOf' since it isn't a known property of 'mat-card'. 1. If 'mat-card' is an Angular component and it has 'ngforOf' input, then verify that it is part of this module.
div button(mat-raised-button, color='primary', (click)='createMocked()') Create Mocked div mat-card.Class(*ngfor="let room of rooms; let classroomIndex = index; trackBy: trackClass")
Does anyone have idea how to fix 1 and 2 or have woking in intellij reference that I can check? I used this article: https://medium.com/@MarkPieszak/using-pug-or-jade-templates-with-the-angular-cli-9e37334db5bc