There are two methods
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:
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.