*ngIf and *ngFor on same element causing error *ngIf and *ngFor on same element causing error angular angular