As someone who has been building Angular Apps using 1.x for quite some time now, I have developed a strong preference for using Bower to install Angular and its various packages. Along with tools like Shivs, JQuery, ChartJs, and others, Bower allows me to keep everything in a consistent place for easy reference. Additionally, I rely on Grunt as my task runner to automate processes for smooth development.
However, as the complexity of the apps I build increases, I am faced with the challenge of managing numerous file calls within the index.html. I am keen on organizing all these files into an app.js to enhance manageability not just for myself but also for other developers working on these projects.
I have explored various tools like requirejs, browserify, and commonjs, each offering the functionality I seek. Yet, the conflicting opinions on which tool is best make the decision-making process complex. While I was initially inclined towards browserify, I hesitate as it excludes Bower from the workflow in favor of NPM. However, I am fond of using Bower and would prefer to stick with it if possible.
If anyone has suggestions or best practices to share that could clarify this dilemma for me, I would greatly appreciate it. Should I simply opt for a concatenation approach with grunt/gulp? Your insights and answers are highly valued.
Thank you in advance.