Error:Unhandled Promise rejection: Template parse errors:ngIf usage in angularjs2
Unhandled Promise rejection: Template parse errors: Can’t bind to ‘ngif’ since it isn’t a known property of ‘div I m getting the above error while execute my angular js code.
1 |
<div *ngif='appstatus'>{{apptitle}}</div> |
usulay this error will throw due invalid syntax.here small letter is used in the if(ngif).if you change to ngIf it will works fine.