0

enter image description here

As mentioned in the image, Angular app1 is common module for both app2 and app3. Is it possible to inject app2 and app3 inside common module?

If it is not possible, can anyone give some idea how we can implement this?

Note: Currently i am trying to inject app2 and app3 using bower install. Is this correct?

2
  • so both app2 and app3 will use app1? Commented Jan 2, 2018 at 12:07
  • @Omar Einea Yes. Based on user selection will show app2 & app3 Commented Jan 2, 2018 at 12:10

1 Answer 1

1

Finally we have implemented this functionality using AngularJS Modularization.

Webpack is a module bundler, what does that mean? Well, it basically take modules with dependencies and generate static assets to represent those modules.

for more info: http://angular-tips.com/blog/2015/06/using-angular-1-dot-x-with-es6-and-webpack/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.