I'm developing a web app with AngularJS. It consists in an admin interface that rely on an json-rpc API that resides on another domain.
In my local enviroment, if I make a Request (with AngularJS) to API server I get the error "Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin" in my console Browser".
I've read the limit of modern browsers to blocking the request to another domain, but.... if there is no solution... Do I need to create my web service (with one backend language: es: PHP or Python) that make requests to API web server and then make the AngularJS request to this?
Why I need another "web server" in the middle of my application infrastructure?
Thanks in advance. F.
Update: I've read about crossdomain.xml file here: http://www.adobe.com/devnet/adobe-media-server/articles/cross-domain-xml-for-streaming.html
Does it could be, in someway, the solution of my problem?