angular-file-templates
Version:
Create common angular files from templates
26 lines (21 loc) • 441 B
JavaScript
/**
* @param {type} angular
* @returns {angular.module}
* @author {{{author}}}
* @since {{{date}}}
*/
(function () {
'use strict';
angular
.module('app.{{{elementName}}}', [])
.config(config)
.run(runBlock);
/* @ngInject */
function config() {
// Your code here
}
/* @ngInject */
function runBlock() {
// Your code here
}
})();