HTML element attributes _must_ appear in following order:
- class
- id, name
- data-*
- src, for, type, href, value,
- title, alt
- rol, aria-*
- ng-class
- ng-init,
- ng-model
- ng-click
- ng-if, ng-hide, ng-show
- custom-directives
- ng-disabled
- required, disabled, etc.
2. HTML Self-closing elements 1
-
For these, omit the / at the end of the tag.
area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, wbr
1http://www.colorglare.com/2014/02/03/to-close-or-not-to-close.html