11 lines
		
	
	
		
			337 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			337 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								import { Routes,
							 | 
						||
| 
								 | 
							
								         RouterModule } from '@angular/router';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export const routes: Routes = [
							 | 
						||
| 
								 | 
							
								  { path: '', redirectTo: 'contact', pathMatch: 'full'},
							 | 
						||
| 
								 | 
							
								  { path: 'crisis', loadChildren: 'app/crisis/crisis.module' },
							 | 
						||
| 
								 | 
							
								  { path: 'heroes', loadChildren: 'app/hero/hero.module.3' }
							 | 
						||
| 
								 | 
							
								];
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export const routing = RouterModule.forRoot(routes);
							 |