I\'m making an Ajax.request to a remote PHP server in a Sencha Touch 2 application (wrapped in PhoneGap).
Ajax.request
The response from the server is the following:
If you get this in Angular.js, then make sure you escape your port number like this:
var Project = $resource( 'http://localhost\\:5648/api/...', {'a':'b'}, { update: { method: 'PUT' } } );
See here for more info on it.