UNPKG

angular-nevera-generator

Version:

Yeoman AngularJS scaffold a webapp with Angular 1 written in ES6 (Babel), TypeScript through Webpack or SystemJS including tools Gulp 4, ESLint, Browsersync and Karma

18 lines (16 loc) 341 B
function <%- directiveName %>() { return { restrict: 'E', scope: { data: '=' }, link: function (scope, element, attrs) {}, controller: function () {}, controllerAs: 'ctrl' }; } <% if (modules === 'inject') { -%> <% include inject/directive.js %> <% } else { -%> <% include modules/directive.js %> <% } -%>