Tuesday, 21 November 2017
When to use data-ng and When to use ng in AngularJS.
in: angularjs
In this article, We will discuss When to use data-ng and When to use only ng in Angular JS.
Well, We can Use either data-ng or ng. There Will be no error generate When we use either data-ng or ng but sometimes it will Show Warning.
When we use ng and if HTML is not used in that page then it will Show Warning like "Validation(HTML5):Attribute 'ng-app' is not a valid attribute of element 'body'".
But to resolve this Warning we need to add data befor ng like this, data-ng in AngularJS.
So due to avoid those Warnings it is recommended to Use data-ng but Still We can Use ng also.
RELATED POSTS

.then is not a function in angularjs
In this article, We will discuss then is not a function in angularjs.&nb ...

Error: [$controller:ctrlreg] The controller with the name 'myController' is not registered in angular js.
The reason behind this is that, if we write our controller in some js fi ...

Loader Example Using Loader Image in AngularJS.
In this article, We will discuss about a Loader Example using Loader Ima ...

Loader Example Using ngShow in AngularJS.
In this article, We will discuss about a Loader Example using ngShow in ...
-
This issue is Completely related to EntityFramework and this issue arises whenever you have installed EntityFramework in one project at th...
-
This is generally a Common Problem or the error could be like this, To Resolve this error, One Small Solution is Exists which is as b...
-
In this article, We will discuss What is the above Error and How to resolve this Error. Whenever, We are Restoring our database into A...
0 comments:
Post a Comment