9 lines
		
	
	
		
			369 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			369 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| // #docregion
 | |
| import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
 | |
| import { AppModule } from './app.module';
 | |
| 
 | |
| // Compiles the module (asynchronously) with the runtime compiler
 | |
| // which generates a compiled module factory in memory.
 | |
| // Then bootstraps with that factory, targeting the browser.
 | |
| platformBrowserDynamic().bootstrapModule(AppModule);
 |