According to the HTML5 standard , custom attributes must begin with data-* . Nevertheless, in almost all even the official docks, for example for Anjular, the type code ng-model="" often given instead of data-ng-model="" .
Validators on countries with the attribute ng-model="" course swear, but there are no problems. Should I add a data-* prefix everywhere? Why do custom attributes have to start with this prefix?
ng-modelanddata-ng-model. The parser will cut the part off the date itself. And, if you need to prevent validarot from swearing, you can adddatato attribute names. - Moonvvell