title: Angular $resource array data error
body: <p>Server response an array data in JSON format:</p>
  
  <pre><code>["2345","1234"]
  </code></pre>
  
  <p>Angular service module define:</p>
  
  <pre><code>angular.module('MySource', ['ngResource']).factory('Phone', function($resource){
    return $resource('/api/source');
  });
  </code></pre>
  
  <p>Then I use <code>Phone.query();</code> to fetch array data, but got this:</p>
  
  <pre><code>[{"0":"2","1":"3","2":"4","3":"5"},{"0":"1","1":"2","2":"3","3":"4"}]
  </code></pre>
  
  <p>But <code>$http</code> works:</p>
  
  <pre><code>$http.get('/inner/source').success(function(data){
    // data = ["2345", "1234"]
  });
  </code></pre>
  
  <p>What's the problem? Why <code>$resource</code> split the array? Does I use <code>$resource</code> wrong way?</p>
  
  <p>Thanks.</p>