3 ms·
angular allows you to prefix any html directive with "data-" to make it fully compliant with the html5 spec. you can certainly use <li class="some_style_class"
by metaphorm 13y ago
angular allows you to prefix any html directive with "data-" to make it fully compliant with the html5 spec.
you can certainly use <li class="some_style_class" data-ng-repeat="comment in comments"> in your angular templates and have it pass a validator for html5 and still work with angular.