| 
									
										
										
										
											2015-12-11 15:37:35 -08:00
										 |  |  | // #docregion import
 | 
					
						
							| 
									
										
										
										
											2016-05-03 14:06:32 +02:00
										 |  |  | import { Component } from '@angular/core'; | 
					
						
							| 
									
										
										
										
											2015-12-11 15:37:35 -08:00
										 |  |  | // #enddocregion import
 | 
					
						
							| 
									
										
										
										
											2016-05-03 14:06:32 +02:00
										 |  |  | import { HeroListComponent } from './hero-list.component'; | 
					
						
							|  |  |  | import { SalesTaxComponent } from './sales-tax.component'; | 
					
						
							| 
									
										
										
										
											2015-12-11 15:37:35 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | @Component({ | 
					
						
							|  |  |  |   selector: 'my-app', | 
					
						
							| 
									
										
										
										
											2015-12-17 13:49:33 -08:00
										 |  |  |   template: `
 | 
					
						
							|  |  |  |   <hero-list></hero-list> | 
					
						
							|  |  |  |   <sales-tax></sales-tax> | 
					
						
							|  |  |  |   `,
 | 
					
						
							|  |  |  |   directives: [HeroListComponent, SalesTaxComponent] | 
					
						
							| 
									
										
										
										
											2015-12-11 15:37:35 -08:00
										 |  |  | }) | 
					
						
							|  |  |  | // #docregion export
 | 
					
						
							|  |  |  | export class AppComponent { } | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  | // #enddocregion export
 |