Hi Hardik, According to your requirement ,I am not sure ,there is a way to do this by angular because you need to load your all modules in browers .Try this..(might work)
window.SubModuleDependencies = [];//add this before you do anything else // at the end of each module file:window.SubModuleDependencies.push('yourmoduleName') // after all that, at the app definition: app = angular.module("app", SubModuleDependencies ) On Tue, Apr 5, 2016 at 10:23 AM, hardik Patel <hardikpatel...@gmail.com> wrote: > I am working on Angular Application. I have a application with multiple > modules. Application structure is like i have a Main Module and at run time > i want to inject sub modules in main module. > > Please help me out. > > Thanks in Advance > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to angular+unsubscr...@googlegroups.com. > To post to this group, send email to angular@googlegroups.com. > Visit this group at https://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Ashish Kumar -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.