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
11 lines (10 loc) • 300 B
text/typescript
export const hello: angular.IComponentOptions = {
<% if (modules === 'systemjs') { -%>
templateUrl: '<%- templateUrl %>',
<% } else { -%>
template: require('./hello.html'),
<% } -%>
controller: function () { // eslint-disable-line babel/object-shorthand
this.hello = 'Hello World!';
}
};