36 lines
		
	
	
		
			755 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			36 lines
		
	
	
		
			755 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								// #docregion
							 | 
						||
| 
								 | 
							
								import { NgModule }       from '@angular/core';
							 | 
						||
| 
								 | 
							
								import { BrowserModule }  from '@angular/platform-browser';
							 | 
						||
| 
								 | 
							
								import { FormsModule }    from '@angular/forms';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { AppComponent }       from './app.component';
							 | 
						||
| 
								 | 
							
								import { routing,
							 | 
						||
| 
								 | 
							
								         appRoutingProviders } from './app.routing';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { HeroesModule } from './heroes/heroes.module';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { LoginComponent } from './login.component';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								import { DialogService }  from './dialog.service';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								@NgModule({
							 | 
						||
| 
								 | 
							
								  imports: [
							 | 
						||
| 
								 | 
							
								    BrowserModule,
							 | 
						||
| 
								 | 
							
								    FormsModule,
							 | 
						||
| 
								 | 
							
								    routing,
							 | 
						||
| 
								 | 
							
								    HeroesModule
							 | 
						||
| 
								 | 
							
								  ],
							 | 
						||
| 
								 | 
							
								  declarations: [
							 | 
						||
| 
								 | 
							
								    AppComponent,
							 | 
						||
| 
								 | 
							
								    LoginComponent
							 | 
						||
| 
								 | 
							
								  ],
							 | 
						||
| 
								 | 
							
								  providers: [
							 | 
						||
| 
								 | 
							
								    appRoutingProviders,
							 | 
						||
| 
								 | 
							
								    DialogService
							 | 
						||
| 
								 | 
							
								  ],
							 | 
						||
| 
								 | 
							
								  bootstrap: [ AppComponent ]
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								export class AppModule {
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								// #enddocregion
							 |