2016-05-18 15:53:13 +02:00
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
2016-05-24 15:16:23 +02:00
|
|
|
import { HeroListComponent, HeroService } from './heroes';
|
2016-05-18 15:53:13 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'sg-app',
|
|
|
|
template: '<toh-hero-list></toh-hero-list>',
|
|
|
|
directives: [HeroListComponent],
|
|
|
|
providers: [HeroService]
|
|
|
|
})
|
|
|
|
export class AppComponent { }
|