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