17 lines
357 B
TypeScript
Raw Normal View History

// #docregion
2016-04-27 11:28:22 -07:00
import { Component } from '@angular/core';
import { HeroesComponent, HeroService } from './heroes';
@Component({
2016-05-18 15:53:13 +02:00
moduleId: module.id,
selector: 'toh-app',
template: `
<toh-heroes></toh-heroes>
`,
2016-05-18 15:53:13 +02:00
styleUrls: ['app.component.css'],
directives: [HeroesComponent],
providers: [HeroService]
})
export class AppComponent { }