2015-12-11 18:37:35 -05:00
|
|
|
import {Component, Input} from 'angular2/core';
|
2015-11-28 23:43:09 -05:00
|
|
|
import {Hero} from './hero';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'hero-detail',
|
|
|
|
templateUrl: 'app/hero-detail.component.html',
|
|
|
|
directives: [HeroDetailComponent]
|
|
|
|
})
|
|
|
|
export class HeroDetailComponent {
|
|
|
|
@Input() hero:Hero;
|
|
|
|
}
|