Tag Archives: Property binding ngif not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the “@NgModule.declarations”

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.

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.