Improve module config for ngxtranslate
Made the app-level TranslationModule a singleton (forRoot
) so that an
additional instance for the EssentialsModule is no longer necessary.
Furthermore, a single factory is now shared for all modules.
This change is needed to support lazy loaded module translations while
using the multi loader for extensions.
Edited by Daniel Gerhardt