Tuesday 14 November 2017

Validation (HTML5): Attribute 'ng-app' is not a valid attribute of element 'body'.

In this article, We will discuss Why Attribute 'ng-app' is not a valid attribute of element 'body' or 'div' tag.

Well, this is not a issue actually rather it is just a warning.





Even if we can easily run our application and get back the result Without any Error.

This Warning is showing because HTML5 is not defined in this page.

To resolve this warning, We need to add data- before all ng tags Which is as follows,



2 comments: