title: Sending GET parameters in Restangular
body: <p>I'm using <a href="https://github.com/mgonto/restangular" rel="noreferrer">Restangular</a> in my project and earlier this code worked well for retrieving array of objects: </p>
  
  <pre><code>var params = {name: "Stack", surname: "Overflow"}
  var service = Restangular.all('users')
  service.getList(params)
  </code></pre>
  
  <p>Response from server was just an array of objects: </p>
  
  <pre><code>[
   {...},
   {...}
  ]
  </code></pre>
  
  <p>But now I added pagination, and my response now contains not an array, but an object which includes array: </p>
  
  <pre><code>{
     totalCount: 500,
     data: [
       {...},
       {...}
     ]
  }
  </code></pre>
  
  <p>Also I changed <code>service.getList(params)</code> to <code>service.get(params)</code> (because <code>getList</code> expects only arrays). </p>
  
  <p>And after this changes my GET parameters are not stringified, i.e. I see in debugger request like this: </p>
  
  <p><code>users/[object%20Object]</code> </p>
  
  <p>but earlier (when using <code>getList</code> method) it worked as I expected: </p>
  
  <p><code>users?name=Stack&amp;surname=Overflow</code> </p>
  
  <p>What is the problem here? </p>