title: $resource.query() parameters fail to arrive at server
body: <p>Trying to implement a RESTful API using Node.js and Angular. </p>
  
  <p>On the client side, I define a resource called <code>songResource</code> with the <code>$resource</code> function in Angular. 
  I then call the API with this method:</p>
  
  <pre><code>$scope.displayArray = songResource.query(
      parameters, // an object containing various settings
      function(value, responseHeaders) { // success callback
          console.log('Success!',parameters); 
          ...
      },
      function(httpResponse) { // error callback
          console.log('Error!');
          ...
      }
  );
  </code></pre>
  
  <p>On the server side, the route resolves, but the parameters do not come over. (In other words, <code>req.params</code> is an 
  empty object.) The rest of the service retrieves and sends zero records. My client receives the zero records and
  hits the success callback, where I can tell that the API call succeeded.</p>
  
  <p>Why aren't the parameters coming over to the API, and how do I fix this?</p>