Just starting out with requirejs and I'm not familiar with requireJs or other JS optimization techniques.
My current project is a single page application built in angularJs. Right now, the single page app loads all available Js for every module. I want to reduce the number of loaded js files (only load necessary js file for each module). What's the best approach for this optimization? So far, I've only come across requireJS. Are there any other methods available for this? Any recommendations for optimizing JS loading?