lmeijdam / angular-umd-dynamic-example

Angular UMD example of loading new modules dynamically
174 stars 55 forks source link

How to pass data from parent modules to dynamic lazy loaded module. #16

Open mourya09 opened 5 years ago

mourya09 commented 5 years ago

Is it possible to pass the data from parent modules to ModuleA?

GeorgesSaad commented 4 years ago

A bit late, but yes, I've done it. I built a library that contains an abstract class that I injected in ModuleA and implemented in the parent module.

0x7878 commented 4 years ago

Hey @GeorgesSaad,

do you have a simple example of how you did it work? It would be very helpful.

Thanks in advance