import { Injectable } from '@angular/core' ; @ Injectable ( ) export class ConfigService { constructor ( ) { } Init ( ) { return new Promise < void > ( ( resolve , reject ) => { console . log ( 'AppInitService.init() called' ) ; setTimeout ( ( ) => { console . log ( 'AppInitService Finished' ) ; resolve ( ) ; } , 500 ) ; } ) ; } }