angular multiple APP_INITIALIZER that depend on each other
just use
useFactory: (appConfigSvc: ConfigService,settingsService:SettingsService) => {
return () => {
return appConfigSvc.loadConfig().then(()=>{
return settingsService.loadConfig()
});
};
}
See your forked code in stackblitz