marcoslin / angularAMD

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

angularAMD.route and require optimization, r.js #151

Closed jacobnijgh closed 9 years ago

jacobnijgh commented 9 years ago

Hi there, i am using the angularAMD.route method which works fine in non compressed mode but after optimization it is searching for the file url(404) instead of looking in the optimized/compressed file.

What is the correct way to use angularAMD and routes so that the Require optimization would still work. Thanks in advance!

marcoslin commented 9 years ago

Please take a look at a sample project I created:

https://github.com/marcoslin/angularAMD-sample

Do reopen this issue if there are further questions.