title: Getting success call with array length 0, when service is unavailable
body: <p>I have two method for my query-
  query: {method: 'GET' isArray: true}
  save:{method: 'POST'}</p>
  
  <p>When service is down surely I should get an HTTP error like 400 or 404.
  But here am getting error callback for my save.</p>
  
  <p>For query, am getting an array length of 0 with success. That is not correct in any sense.</p>
  
  <pre><code>Api.Loc.query(function(res) {
  var resArray = res;
  if(resArray &amp;&amp; resArray.length == 0){ 
      $scope.addErrorAlert("Services are currently not responding.Please try again later.",true);
      return;
  }
  </code></pre>