Resource Fail Error - Request has cancelled - CORS or structure?


#1

Hey all,

Recently changed my app around to a new structure. Running into some problems since…

Rather than have all my controllers in controllers.js I’ve started to modularize them into folders and their own js files e.g. Login/LoginController.js (nothing fancy here) - it’s working well for the most part.

Except in 1 case, when I upload the app and view it in ionic viewer or use Netbeans to view the app, it starts in appname/index.html and I just see the index.html and all the resources fail to load. Maybe this is a CORS issue right? So I tried adding meta tags like in and added the whitelist plugin, as well as settings in config.xml.

If I add a ‘/’ then it loads the default tabs page without issue.

Any suggestions ?

Thanks