closes #1290, #1289 Change structure to match style-04-06 as proposed by mrkiffie; fix double back slash
		
			
				
	
	
		
			16 lines
		
	
	
		
			378 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			378 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| // #docregion
 | |
| import { Component } from '@angular/core';
 | |
| 
 | |
| import { HeroListComponent } from './heroes/hero-list/hero-list.component';
 | |
| import { HeroService } from './heroes/shared/hero.service';
 | |
| 
 | |
| @Component({
 | |
|   selector: 'toh-app',
 | |
|   template: `
 | |
|       <toh-heroes></toh-heroes>
 | |
|     `,
 | |
|   directives: [HeroListComponent],
 | |
|   providers: [HeroService]
 | |
| })
 | |
| export class AppComponent {}
 |