How to solve Undefined attribute name in Angular JS
There are two methods
First Method
Open eclipse and go to project and properties
Ignore validation for undefined attribute name.
To do this: Right click project –> Properties –> Validation –> HTML Syntax –> Attributes
–> Undefined attribute name –> Ignore as below then click OK:
Second Method
Change ng-app to data-ng-app
because both and are the same except for the fact that if you want your template/code to be according to be
HTML compliant and follow the best practices.
Use data-ng-app.
Nice