Component({ selector: 'mat-select-search', templateUrl: './mat-select-search.component.html', styleUrls: ['./mat-select-search.component.scss'], providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => MatSelectSearchComponent), multi: true } ], changeDetection: ChangeDetectionStrategy.OnPush })
function () { function AppComponent(todoService) { this.todoService = todoService; } AppComponent.prototype.getTodos = function () { var _this = this; this.todoService.getTodos().then(function (todos) { return _this.todos = todos; }); }; AppComponent.prototype.ngOnInit = function () { this.getTodos(); }; AppComponent = __decorate([ core_1.Component({ selector: 'my-app', template: "<h1>NodeTodo</h1>\n <ul>\n <li *ngFor=\"let todo of todos\">\n {{todo.todo}} - {{todo.isDone}}\n </li>\n </ul>", providers: [todo_service_1.TodoService] }), __metadata('design:paramtypes', [todo_service_1.TodoService]) ], AppComponent); return AppComponent; }()
Component({ selector: 'codemirror', providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => CodemirrorComponent), multi: true } ], templateUrl : './codemirror.component.html', styleUrls : ['./codemirror.component.scss'] })
Component({ selector: 'codemirror', providers: [ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => CodemirrorComponent), multi: true } ], templateUrl : './codemirror.component.html', styleUrls : ['./codemirror.component.scss'] })