What I need to know is that how can I define modules common Or we can say global for whole application that are used by all other children modules. Here If i use lazy loading , I have to write all the dependencies again to all my child modules . how can I avoid that and only define it in app.module.ts file.
Let's say I want to use Toaster In all children modules. I have to include ToasterModule into all child Modules.
How can I avoid this and only include it in main module and user it in all child modules ?