You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app.component registered in app.module. Inside this component i use mc-breadcrumbs component.
i have lazy module 'lazy.module' that has it's own routing configuration. Here i'm using custom breadcrumb resolver inherited from McBreadcrumbsResolver. CustomMcBreadcrumbsResolver added to providers for 'lazy.module'.
With this configuration i see next error: ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[CustomBreadcrumbsResolver]:
If i add CustomBreadcrumbsResolver to app.module the error is gone and it works as expected.
The problem, that i don't want to add this service to main module(Angular resolvers work in this way).
The text was updated successfully, but these errors were encountered:
I have an app.component registered in app.module. Inside this component i use mc-breadcrumbs component.
i have lazy module 'lazy.module' that has it's own routing configuration. Here i'm using custom breadcrumb resolver inherited from McBreadcrumbsResolver. CustomMcBreadcrumbsResolver added to providers for 'lazy.module'.
With this configuration i see next error:
ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[CustomBreadcrumbsResolver]:
If i add CustomBreadcrumbsResolver to app.module the error is gone and it works as expected.
The problem, that i don't want to add this service to main module(Angular resolvers work in this way).
The text was updated successfully, but these errors were encountered: