2016-05-03 08:06:32 -04:00
|
|
|
import { Component, Input} from '@angular/core';
|
|
|
|
|
|
|
|
import { Hero } from './hero';
|
2015-11-28 23:43:09 -05:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'hero-detail',
|
|
|
|
templateUrl: 'app/hero-detail.component.html',
|
|
|
|
directives: [HeroDetailComponent]
|
|
|
|
})
|
|
|
|
export class HeroDetailComponent {
|
2016-04-27 14:28:22 -04:00
|
|
|
@Input() hero: Hero;
|
|
|
|
}
|