jpillora/xhook — pull request #26 by rahulverma (2014-11-03 07:08:55+00:00)
Title: AngularJS expects response object to be filled

Only fill the response object if responseXML and responseText are not found.

Angular JS fails to fetch new views from CORS request because it expects response to be filled:
https://github.com/angular/angular.js/blob/d3b1f502e3099d91042a1827a006ad112ea67d36/src/ng/httpBackend.js#L63