Angular http.get calls fail with no error code
<p>In Ionic framework, inside a controller I have the following very simple Angular http get call:</p>

<pre><code>$http({
  method: 'GET',
  timeout: '9999',
  responseType: 'json',
  url: 'see below'
}).then(function successCallback(response) {
      console.log('WORKS');
      alert(response.status);//200 OK
  }, function errorCallback(response) {
      console.log('ERROR');
      alert(response.status);// always empty, why?
  });

  // works:
  // http://maps.googleapis.com/maps/api/geocode/json?address=77379&amp;sensor=true
  // http://www.omdbapi.com/?t=lord

  // fail:
  // http://md5.jsontest.com/?text=1234
</code></pre>

<p>When you call the url at the bottom two of them work and two of them fail. </p>

<p>Why is so? I have tried:</p>

<ul>
<li>header encoding issues</li>
<li>header mime types (application/json and others) </li>
<li>checking malformed json / whitespaces</li>
<li>timeouts (set to 9999ms)</li>
<li>access-control-allow-origin: * </li>
</ul>

<p>What else could I try? Thanks for the help!</p>