As the DI token that keeps a map of sub menu components registered in root module it will not pickup provided values from lazy loaded modules as they will have their own module injector.
The solution is to refresh value from DI token once lazy-loaded module has been loaded.
As the DI token that keeps a map of sub menu components registered in root module it will not pickup provided values from lazy loaded modules as they will have their own module injector.
The solution is to refresh value from DI token once lazy-loaded module has been loaded.