Hello everybody!
I am currently working on a simple web application and decided to go with AngularJS.
My problem is that when I put the Angular controller into a separate js file, the app cannot find thse files and thus angular does not work.
I know that my angular works as it is fine if I put a script into my jsp file straight.
There is a detail that might be a reason: whenever I check the Network of my code in the browser, the js files that are not found considered to
have a text/html type. Might that be a problem and if yes, how should I solve it? Not sure if I should post any code. If needed, will be provided.
Thank you in advance.