title: Parameter confusion in angularJS
body: <p>I have a question, I have the following factory:</p>
  
  <pre><code>angular.module('ospApp')
      .factory('Author', function ($resource) {
          return $resource('api/authors/:id', {}, {
              'query': { method: 'GET', isArray: true},
              'get': {
                  method: 'GET',
                  transformResponse: function (data) {
                      data = angular.fromJson(data);
                      var birthDateFrom = data.birthDate.split("-");
                      data.birthDate = new Date(new Date(birthDateFrom[0], birthDateFrom[1] - 1, birthDateFrom[2]));
                      return data;
                  }
              },
              'update': { method:'PUT' }
          });
      });
  </code></pre>
  
  <p>Then I don't see parameter id in query under please tell me: </p>
  
  <pre><code>Author.query({page: $scope.page, per_page: 20}, function(result, headers) {
     $scope.links = ParseLinks.parse(headers('link'));
     $scope.authors = result;
  });
  </code></pre>