title: XMLHttpRequest Access Denied with AngularJS on any IE version below 10
body: <p>While viewing my application on any Microsoft IE browser of version earlier than 10, I get the following weird error at the console:</p>
  
  <p><img src="https://i.stack.imgur.com/XPz0K.jpg" alt="console screen shot from the developer console, the view doesn&#39;t get resolved due to this error"></p>
  
  <p>I've tried canceling the console with adding the following JavaScript code prior to the AngularJS lib:</p>
  
  <pre><code>console.log = function(){};
  window.console = {log: function(){}};
  </code></pre>
  
  <p>It didn't make a difference.
  The same error in IE 10 appears as: </p>
  
  <pre><code>SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.
  </code></pre>
  
  <p>probably me trying to get the '/me' from the API in order to check if the user is authenticated or a guest.</p>
  
  <p>Basically. eliminating those annoying console errors each time the server gives a response other than 2XX or 3XX would be great!</p>
  
  <p>UPDATE: This seems to be related to accessing an API over a different sub domain(CORS);</p>