import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' ; import { AppModule } from './app.module' ; import { enableProdMode } from '@angular/core' ; platformBrowserDynamic ( ) . bootstrapModule ( AppModule ) . then ( ( success ) => console . log ( 'App bootstrapped' ) ) . catch ( ( err ) => console . error ( err ) ) ;