title: AngularJS Resource Custom Action and URL
body: <p>I'm trying to make a POST request to a URL with the following format:</p>
  
  <pre><code>/questions/:questionId:/answers
  </code></pre>
  
  <p>I have a resource set up (notice the custom save URL):</p>
  
  <pre><code>angular.module('questions').factory('AnswersResource',
      ['$resource',
      function($resource) {
          return $resource('questions/:questionId/answers/:answerId', {
              answerId: '@_id'
          }, {
              save: {
                  method: 'POST',
                  url: 'questions/:questionId/answers'
              }
          });
      }
  ]);
  </code></pre>
  
  <p>With a wrapper:</p>
  
  <pre><code>angular.module('questions').factory('Answers',
      ['AnswersResource',
      function(AnswersResource) {
          return {
              save: function(answer, questionId) {
                  AnswersResource.save({questionId: questionId}, answer);
              }
          }
      }
  ]);
  </code></pre>
  
  <p>When I make a call to:</p>
  
  <pre><code>Answers.save($scope.answer, '123456');
  </code></pre>
  
  <p>I get a POST request to the server like this (notice the appended question mark):</p>
  
  <pre><code>POST /questions/123456/answers?
  </code></pre>
  
  <p>This throws off the routing on my back-end. Does anyone know why this question mark is appearing?</p>
  
  <p>Thanks!</p>