title: Restangular GET with paging parameters
body: <p>I have a rest endpoint that supports HAL and returns a JSON <code>Object</code> rather than an <code>Array</code>, for this reason I am using the following Restangular call:</p>
  
  <pre><code>var endpoint = Restangular.oneUrl('/transmissions/');
  endpoint.get().then(doStuffWithData());
  </code></pre>
  
  <p>when I do <code>/transmissions?page=0&amp;size=20</code> from the browser this actually affects the <strong>content</strong> element of the HAL JSON object.</p>
  
  <p>How would I modify the above url to include pagination parameters. I have done the following but it doesnt work:</p>
  
  <pre><code>    var endpoint = Restangular.oneUrl('transmissions/', {
          page: $scope.page,
          size: $scope.size
      });
  </code></pre>
  
  <p>I get the following error</p>
  
  <pre><code>http://localhost:7001/myApp/transmissions/%5Bobject%20Object%5D 
  </code></pre>