Small fix for Angular.js and CORS