[angularjs] AngularJS not detecting Access-Control-Allow-Origin header?