Hi , Check your code on your dom. maybe you forget to add this js file on the script on the dom.
On Wednesday, December 17, 2014 12:09:35 AM UTC+4, CannotCode wrote: > > 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. > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
