title: Passing params to $resource query or get
body: <p>I am trying to pass some params to a resource call to get only the votes matching those params</p>
  
  <p>It seems to be ignoring those params on a query because it just returns all of the votes regardless of params</p>
  
  <p>Also when attempting to use get like this post suggests: <a href="https://stackoverflow.com/questions/19247563/angular-1-0-8-resource-with-multiple-optional-get-parameters">Angular 1.0.8 $resource with multiple optional get parameters</a> it gives error: expected object but got an array</p>
  
  <p>What is the issue here?</p>
  
  <p>Service</p>
  
  <pre><code> wrmcServices.factory 'Vote', ($resource) -&gt;
     $resource 'api/v1/votes.json',{},
       query:
         method:'GET'
         params:
           voteId:'votes'
         isArray:true
  </code></pre>
  
  <p>Note: I also tried removing the params: voteId:'votes' but it made no difference, if anyone wants to tell me what this does in this case it would be good to know, i just added that part from a tutorial</p>
  
  <p>My query and get attempts</p>
  
  <pre><code>Vote.query({votable_id:scope.votableId,votable_type:scope.votableType});
  Vote.get({votable_id:scope.votableId,votable_type:scope.votableType});
  </code></pre>