This is how we did in AngularJS https://pastebin.com/TreYLXnv
On Wednesday, April 4, 2018 at 5:58:55 PM UTC+3, Darxx 84 wrote: > > > Hello everyone, > > Need some help with figuring out how to move forward with Angular. > > A bit of backstory > We have created platform with AngularJS where users can create separate > applications (plugins) which uses services provided from main application, > can register their routes and modules. Basically applications (plugins) > are installed just by adding .js files to index.html file and registering > them to core module by providing routes and modules. > > All our plugins depends on core application they use it without having > access to source code. Basically they use production code. > Core application provides bunch of services which are shared across all > plugins, for example authentication service with full life cycle of > authentication token. > > > Having this idea we started looking how we can it be implemented in > Angular? > How can we build application from separate parts and combine it at runtime? > Is it possible for example not using --prod flag to build 3 separate > angular applications without using original core source code and combine it > to one? and if it is possible, how can this be automated? > > respectfully, > Darius > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
