| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  | // #docregion
 | 
					
						
							|  |  |  | import { NgModule }       from '@angular/core'; | 
					
						
							|  |  |  | import { CommonModule }   from '@angular/common'; | 
					
						
							|  |  |  | import { FormsModule }    from '@angular/forms'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import { HeroListComponent }    from './hero-list.component'; | 
					
						
							|  |  |  | import { HeroDetailComponent }  from './hero-detail.component'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import { HeroService } from './hero.service'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // #docregion heroes-routes
 | 
					
						
							| 
									
										
										
										
											2016-10-05 16:59:09 -05:00
										 |  |  | import { HeroRoutingModule } from './heroes-routing.module'; | 
					
						
							| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | @NgModule({ | 
					
						
							|  |  |  |   imports: [ | 
					
						
							|  |  |  |     CommonModule, | 
					
						
							|  |  |  |     FormsModule, | 
					
						
							| 
									
										
										
										
											2016-10-05 16:59:09 -05:00
										 |  |  |     HeroRoutingModule | 
					
						
							| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  |   ], | 
					
						
							|  |  |  |   declarations: [ | 
					
						
							|  |  |  |     HeroListComponent, | 
					
						
							|  |  |  |     HeroDetailComponent | 
					
						
							|  |  |  |   ], | 
					
						
							|  |  |  |   providers: [ | 
					
						
							|  |  |  |     HeroService | 
					
						
							|  |  |  |   ] | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | // #enddocregion heroes-routes
 | 
					
						
							|  |  |  | export class HeroesModule {} | 
					
						
							|  |  |  | // #enddocregion
 |