I'm working on a webapp using
Angular.js with the help of the
Yeoman workflow framework. Because the backend service runs on localhost:8080 and my dev server (through Grunt) on localhost:9000, requests result in
same-origin policy errors due to the port difference. To get around this during development, we can setup
CORS through a
proxy on Grunt.