title: AngularJS $resource error - TypeError: Object #<g> has no method 'push'
body: <p>I have the following in my controller file:</p>
  
  <pre><code>var Subject = $resource('/api/TestAccounts/:action', { applicationId: 3 }, {
     'getSelect': { method: 'GET', params: { action: 'GetSelect' } }
  });
  
  Subject.getSelect({ applicationId: 3 },
     function (resp) {
        $scope.testAccounts = resp;
        gridData = null;
     }
  );
  </code></pre>
  
  <p>My server code runs and returns:</p>
  
  <pre><code>[{"id":5,"name":"xxx"},{"id":6,"name":"yyy"}]
  </code></pre>
  
  <p>However I get the following error:</p>
  
  <pre><code>TypeError: Object #&lt;g&gt; has no method 'push'
      at copy (http://127.0.0.1:81/Scripts/angular.js:577:21)
  </code></pre>
  
  <p>Does anyone have any idea what I am doing wrong?</p>