grunt-angular-htmlify
Change your ng-attributes to data-ng-attributes for HTML5 validation using angular-html5
Issues with the output should be reported on the angular-html5 issue tracker.
$ npm install --save-dev grunt-angular-htmlify
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
'angularHtmlify': {
options: {
customPrefixes: ['ui-'] //optional
},
dist: {
files: {
'dist/index.html': 'src/index.html'
}
}
}
});
grunt.registerTask('default', ['angularHtmlify']);
See the angular-html5
options
MIT ©Gilad Peleg