I have two modules one Core module,another Shared module.
Core module contains application wide singleton services and component which are loaded intially such as login,navbar.
Shared module contains reusable components,pipe and services.Also it import material module.
Now in core module we have login and navbar components which requires material module.And material module is imported in shared module.So I need to import shared module in core module. But according to Angular guideline we should not import shared module in core.
So how can I resolve this issue to avoid importing shared module in core module.