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

17 lines (14 loc) 250 B
class App { todos: Todo[]; filter: string; constructor() { this.todos = [initialTodo]; this.filter = SHOW_ALL; } } angular .module('app') .component('app', { templateUrl: 'app/containers/App.html', controller: App });