| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  | import {Component, Input} from '@angular/core'; | 
					
						
							| 
									
										
										
										
											2015-11-28 20:43:09 -08:00
										 |  |  | import {Hero} from './hero'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @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; | 
					
						
							|  |  |  | } |