Hi guys, I am using $http.get in controller.js like this:
$http.get('http://localhost:9090/result.json').success(function(data){ .....}
It works fine in browser with ‘python -m SimpleHTTPServer 9090 &’ setup a local server.
But, when I try to emulate this ios app, the result.json is not availabel.
I’ve already tried to change things in config.xml like this:
<access origin="http://127.0.0.1*" subdomains="true"/>
<access origin="http://192.168.1.6*" subdomains="true"/>
But it’s still not working.
Can anyone help? Thx