Breaking News

How to solve Undefined attribute name in Angular JS

There are two methods

How to solve Undefined attribute name in Angular JS -0
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:

How to solve Undefined attribute name in Angular JS -2

How to solve Undefined attribute name in Angular JS -3

 

 

 

 

Second Method
Change ng-app to data-ng-app

How to solve Undefined attribute name in Angular JS

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.

 

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*