I am desperate. I am doing SPA, in index.html I have <script src=“/app/controllers/application.js”></script>. Folders are arranged exactly same – app/controllers/application.js but server (Webstorm) always gives me error. Once it is GET localhost:63342/…/application.js<http://localhost:63342/app/controllers/application.js> 404 (Not Found). If I have <script src=“app/controllers/application.js”></script>, it gives me this:
GET localhost:63342/…/application.js<http://localhost:63342/smoneybox/app/views/app/controllers/application.js> 404 (Not Found) Files are really at that folder. It is happening everytime and with every script I am including. Only CDA is solution. Another error is Uncaught TypeError: Cannot call method ‘module’ of undefined. This is my application.js: pastebin.com/UehLJaKN -- 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.
