Service instantiated twice after APP_INITIALIZER
问题 Problem is: I need to make an http call and store an object that is needed for generate dynamic routes. So, I was taking advantage of the APP_INITIALIZER. // app.module.ts import { ApplicationService } from './application.service'; providers: [ ApplicationService, { provide: APP_INITIALIZER, useFactory: appServiceFactory, deps: [Injector, ApplicationService], multi: true }, ], function appServiceFactory(injector: Injector, appService: ApplicationService): Function { return () => { return