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