title: AngularJS $http returning 200 ok, but fail
body: <p>I'm trying to do a simple ajax request, and the response status is "200, ok", using the Postman I can validate my JSON, and looks fine, and the header is ok too ... but $http aways fail.
  I try to put a very simple JSON and aways have the same result.
  The solutions doesn't work for me </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/6186770/ajax-request-return-200-ok-but-error-event-is-fired-instead-of-success">Ajax request returns 200 OK, but an error event is fired instead of success</a> </li>
  <li><a href="https://stackoverflow.com/questions/27868062/angular-js-using-http-get-a-response-with-status-200-but-data-is-null">Angular JS using $http() get a response, with status 200, but data is null</a> </li>
  </ul>
  
  <p>My ANGUJAR JS request:</p>
  
  <pre><code>$http.get('http://127.0.0.1:8000/produto/')
              .then(function successCallback(response) {
                  console.info('success =)');
                  console.info(response);
                  // this callback will be called asynchronouslywhen the response is available
  
              }, function errorCallback(response) {
                  // called asynchronously if an error occurs
                  // or server returns response with an error status.
                  console.info('fail =(');
                  console.info(response);
              });
  </code></pre>
  
  <p>My JSON result, but with a simple response like [] I had the same problem :</p>
  
  <pre><code>[{"id":1,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 13:23:49","updated_at":"2016-04-26 13:23:49"},{"id":2,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 13:24:25","updated_at":"2016-04-26 13:24:25"},{"id":3,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 13:24:46","updated_at":"2016-04-26 13:24:46"},{"id":4,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 13:25:16","updated_at":"2016-04-26 13:25:16"},{"id":5,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 13:28:06","updated_at":"2016-04-26 13:28:06"},{"id":6,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 18:05:15","updated_at":"2016-04-26 18:05:16"},{"id":7,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 18:52:42","updated_at":"2016-04-26 18:52:43"},{"id":8,"nome":"NOME UPD","doce":"1","deleted_at":null,"created_at":"2016-04-26 20:29:43","updated_at":"2016-04-26 20:29:43"}]
  </code></pre>
  
  <p>Tanks a lot.</p>