Hulk
Hulk

Reputation: 107

How to include/refer existing angularjs project into another project?

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?

Upvotes: 0

Views: 281

Answers (1)

Hulk
Hulk

Reputation: 107

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/

Upvotes: 1

Related Questions