generator-angular-blueprint
Version:
Yeoman angular generator that allows you to override global templates with your own!
32 lines (24 loc) • 487 B
JavaScript
;
/**
* @ngdoc directive
*
* @name <%= cameledName %>
*
* @description
* directive for <%= appName %>
*/
(function () {
angular
.module('<%= appName %>')
.directive('<%= cameledName %>', <%= cameledName %>);
function <%= cameledName %>() {
return {
restrict: 'E',
templateUrl: 'app/components/<%= dashedName %>/<%= dashedName %>.directive.html',
scope: {},
link: link
};
function link() {
}
}
})();