Story about AngularJS, IE9 and CORS

Using AngularJS with Restangular we suddenly found that for IE9 we have fatal error “Access denied“. It was CORS issue. We’d tried several solutions but only this xdomain script helped.

remark: it works only for case when “slave”/requested domain is under your control: where you could put “proxy.html” file.