generator-angular-blueprint
Version:
Yeoman angular generator that allows you to override global templates with your own!
25 lines (18 loc) • 326 B
JavaScript
;
/**
* @ngdoc controller
*
* @name <%= classedName %>
*
* @description
* Controller for <%= appName %>
*/
(function () {
angular
.module('<%= appName %>')
.controller('<%= classedName %>', <%= classedName %>);
function <%= classedName %>() {
var vm = this;
vm.foo = [];
}
})();