grunt-angular-htmlify
v2.3.0
Published
Change your ng-attributes to data-ng-attributes for HTML5 validation
Downloads
26
Maintainers
Readme
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.
Install
$ npm install --save-dev grunt-angular-htmlify
Usage
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']);
Options
See the angular-html5
options
License
MIT ©Gilad Peleg