16 lines
309 B
TypeScript
Raw Normal View History

// #docregion
2016-04-27 11:28:22 -07:00
import { Component } from '@angular/core';
import { 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'],
providers: [ HeroService ]
})
export class AppComponent { }