Angular Uncaught Error: [$injector:modulerr] after merging js files to one file

I have created an angular application and the application is working fine if I am using the controllers.js, routes.js, directives.js etc seperately in index.html. But when I combine the js files into one js file using gulp-concat (In the same order in which I included the files in my HTML) then I am getting the error Angular Uncaught Error: [$injector:modulerr] I am not sure how to proceed as the error is not very specific


Source: javascript

Leave a Reply