ocombe / ocLazyLoad

Lazy load modules & components in AngularJS
https://oclazyload.readme.io
MIT License
2.63k stars 510 forks source link

Lazyload dependency issue for loading directive multiple times #412

Closed rakeshgithubaccount closed 6 years ago

rakeshgithubaccount commented 6 years ago

Hey,

I am using lazyload for adding dependency at run time using require js, i have some common controllers and directives which are used to create an application module which can run individually as well as can be integrated with some applicaition hub. The problem now is when we run the module individually then its runs perfect but when mulitple modules integrated in a apphub then i face issues like "Multiple times loaded" as the directives/controllers which i am using are very common and often getting used in various modules.

Can lazyload help in this ?