Using Play! 2.1.2 (Java) and Angular.js. I'm attempting to integrate the "angular-app" bootstrap template for Angular which heavily breaks out Angular modules into specific files. I.e. instead of a "services.js" file, the template calls for a "app/common/services/restService.js". This works great when you're using Node.js and you have grunt to combine and minify all of your files.
However, since I'm not using Node.js, I am eagerly seeking some ideas on how to solve the problem of importing each and every JavaScript file. I have looked into using Play's RequireJS support but it is falling short for me, since I am worried it is going to affect JavaScript routes, and further complicate and already confusing project organization (at least for me).
What would be best is a way to combine all of the JavaScript files (say, underneath "app/assets/") into one. However, I will use RequireJS if I absolutely have to.
Thanks for any suggestions you might have.