| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  | // #docregion
 | 
					
						
							|  |  |  | import { NgModule }       from '@angular/core'; | 
					
						
							|  |  |  | import { BrowserModule }  from '@angular/platform-browser'; | 
					
						
							|  |  |  | import { FormsModule }    from '@angular/forms'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-17 20:28:22 -05:00
										 |  |  | import { AppComponent }        from './app.component'; | 
					
						
							|  |  |  | import { HeroDetailComponent } from './hero-detail.component'; | 
					
						
							|  |  |  | import { HeroesComponent }     from './heroes.component'; | 
					
						
							|  |  |  | import { HeroService }         from './hero.service'; | 
					
						
							| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | @NgModule({ | 
					
						
							|  |  |  |   imports: [ | 
					
						
							|  |  |  |     BrowserModule, | 
					
						
							|  |  |  |     FormsModule | 
					
						
							|  |  |  |   ], | 
					
						
							|  |  |  |   declarations: [ | 
					
						
							|  |  |  |     AppComponent, | 
					
						
							| 
									
										
										
										
											2016-08-17 20:28:22 -05:00
										 |  |  |     HeroDetailComponent, | 
					
						
							| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  |     HeroesComponent | 
					
						
							|  |  |  |   ], | 
					
						
							|  |  |  |   providers: [ | 
					
						
							|  |  |  |     HeroService | 
					
						
							|  |  |  |   ], | 
					
						
							|  |  |  |   bootstrap: [ AppComponent ] | 
					
						
							|  |  |  | }) | 
					
						
							|  |  |  | export class AppModule { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | // #enddocregion
 |