| 
									
										
										
										
											2016-04-25 22:42:22 -07:00
										 |  |  | // #docregion
 | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  | import { Component } from '@angular/core'; | 
					
						
							| 
									
										
										
										
											2016-04-25 22:42:22 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  | import { HeroService } from './heroes'; | 
					
						
							| 
									
										
										
										
											2016-04-25 22:42:22 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | @Component({ | 
					
						
							|  |  |  |   selector: 'toh-app', | 
					
						
							|  |  |  |   template: `
 | 
					
						
							|  |  |  |       <toh-heroes></toh-heroes> | 
					
						
							|  |  |  |     `,
 | 
					
						
							|  |  |  |   providers: [HeroService] | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | export class AppComponent {} |