Error:Unhandled Promise rejection: Template parse errors:ngIf usage in angularjs2

By | March 29, 2018

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.

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.