Short description of the problem:
Send CORS request to RESTFul API,
When we use Android <= 4.4 device to test this, CORS request failed: request status code = 0, just send the first one "OPTION" request
work fine with iOS and Android > 4.4
What behavior are you expecting?
CORS success
Fix unperfect way
Use http instead of https, but not safety.
http://stackoverflow.com/questions/31062231/using-cors-and-csrf-together-in-ionic-app
As this, but did not work with the answer