I\'m trying to setup AngularJS to communicate with a cross-origin resource where the asset host which delivers my template files is on a different domain and therefore the X
This fixed my problem:
$http.defaults.headers.post["Content-Type"] = "text/plain";