Open ermamud opened 9 years ago
Hi,
I am trying to optimize a project using r.js. For the project I am using requireJs with Angular and AngularAMD using ui-router. My build config file for r.js is:
({ appDir: "AngularSPA/apps/", mainConfigFile: 'AngularSPA/main.js', dir: "AngularSPA_build", })
The project is getting minified and optimized good but Its not working. I am getting an Angular error:
Error: $injector:modulerr Module Error Failed to instantiate module mainApp due to: Error: [$injector:modulerr]
Please, can you help how to solve this issue ?
Thank you,
Hi,
I am trying to optimize a project using r.js. For the project I am using requireJs with Angular and AngularAMD using ui-router. My build config file for r.js is:
The project is getting minified and optimized good but Its not working. I am getting an Angular error:
Please, can you help how to solve this issue ?
Thank you,