1 min readMar 29, 2019
Thanks Kyle Abens!
I wrote another article Custom Angular Pipes and Dynamic Locale where I write about different ways to bootstrap your application with a locale.
You could try applying the dynamic loading to the FactoryProvider first and see if that works.
{
provide: LOCALE_ID,
deps: [SessionService],
useFactory: (sessionService) => sessionService.getLocale()
}