Change your ng-attributes to data-ng-attributes for HTML5 validation