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.
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 ?