I created a ASP.NET MVC 4 project using AngularJS template available for VS2012. In one of the pages, the grid is coded in html like
<div class="grid-style" data-ng-grid="userGrid">
</div>
But while searching for a problem with the grid, I see people use like
<div class="grid-style" ng-grid="userGrid">
</div>
What is the difference between data-ng-grid
and ng-grid
?
data
is simply to make your HTML validate. – Greyhound