marcoslin / angularAMD

Facilitate use of RequireJS in AngularJS
http://marcoslin.github.io/angularAMD
MIT License
734 stars 171 forks source link

Mutiple modules using angularADM #170

Open phanivaranasi opened 8 years ago

phanivaranasi commented 8 years ago

Hi I'm developing modular application,

Developing app using two modules defined, app, modPatientApp when Im trying to access view of second module, second module app controller is throwing error Uncaught Error: Script error for "modPatientApp", needed by: ../application/module.patient/addPatientController

But when I use app in my addPatientController, its working ? But I want to use modPatientApp, Could any one help me out in fixing this.!!

Thanks Phaneendra

Upendrasengar commented 8 years ago

Have you added dependency of first module in second ?

jun-luo-changsha commented 8 years ago

does someone has any idea? I'm looking for a solution to using thirdparty modules after my module bootsraped

phanivaranasi commented 8 years ago

@Upendrasengar I have added dependency of first module.