grunt-angular-htmlify

2.3.0 • Public • Published

grunt-angular-htmlify

Change your ng-attributes to data-ng-attributes for HTML5 validation using angular-html5

NPM Version NPM Downloads Build Status

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

Package Sidebar

Install

npm i grunt-angular-htmlify

Weekly Downloads

14

Version

2.3.0

License

MIT

Last publish

Collaborators

  • pgilad