$http.get not working in emulated device

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

Just solved this problem, I used Date.parse() in the controller.js, and it works well in Chrome, however it is not working in safari or firefox, that’s why it doesn’t display anything in the emulated device.