I want to use an UI-Framework globally for all other modules (sub-modules from routing).
I'm using the latest versions of Angular and Material (7.2+). https://material.angular.io/
I created an Angular module that imports all Angular Material UI Modules.
Imported in app.module.ts
. It works fine until I change the route by loading another module. - I know why. Because every module is a separate scope.
But it should be possible to import a module globally, that every component can access the UI (html).
I want to import all Mat..Modules in app.module.ts
(already done) accessible also for my other modules like DashboardModule.
Currently, I have to import the MaterialModules again to each Module Component (Page).
Im sure / hope that this is possible. Because an UI should accessible globally to the whole page.