title: Restangular service getList('pit') sending parameters
body: <p>
  I have a restangular service that I create like so: </p>
  
  <pre class="lang-js prettyprint-override"><code>(function() {
      'use strict';
  
      angular
          .module("myapp")
          .factory('stats.api.service', StatsApi);
  
      StatsApi.$inject = ['Restangular'];
  
      function StatsApi(Restangular) {
          return Restangular.service('stats');
      }
  }());
  </code></pre>
  
  <p>I add inject this factory into a service as <code>api</code> and try to make calls off of it. Most of them work, but a certain one doesn't.</p>
  
  <p>For instance, this calls works. (where <code>id</code> is a string with the id I want.</p>
  
  <pre class="lang-js prettyprint-override"><code>api.getList().then(function(data) {
      console.log(data);
  });
  </code></pre>
  
  <p>The above call uses the following url: <a href="http://localhost/myapp/api/stats" rel="nofollow">http://localhost/myapp/api/stats</a></p>
  
  <p>That is the URL I expect.</p>
  
  <p>Now, if I use this code:</p>
  
  <pre class="lang-js prettyprint-override"><code>api.getList('pit').then(function(data) {
      console.log(data);
  });
  </code></pre>
  
  <p>It calls <a href="http://localhost/myapp/api/stats?0=p&amp;1=i&amp;2=t" rel="nofollow">http://localhost/myapp/api/stats?0=p&amp;1=i&amp;2=t</a></p>
  
  <p>Now I may be just missing something, but it should call <a href="http://localhost/myapp/api/stats/pit" rel="nofollow">http://localhost/myapp/api/stats/pit</a>, right? </p>
  
  <p>Any ideas as to what I am doing wrong and how I can fix it?</p>
  
  <p>EDIT:</p>
  
  <p>I figured out how to call the URL I want, but I still feel like it doesn't follow what the documentation says. To call <a href="http://localhost/myapp/api/stats/pit" rel="nofollow">http://localhost/myapp/api/stats/pit</a> I have to use </p>
  
  <pre class="lang-js prettyprint-override"><code>api.one('pit').getList().then(function(data) {
      console.log(data);
  });
  </code></pre>