title: Using $resource.query, I want to return an object that contains an array of the actual resource
body: <p>By default, the <code>$resource.query()</code> is set up to expect an array of objects that become <code>$resource</code> objects.  To accommodate paging in a nice, restful way, I have my <code>GET /api/widgets</code> endpoint set up to return the following object:</p>
  
  <pre><code>{
    currentPage: 1,
    perPage: 20,
    totalItems: 10039,
    items: [{...}, {...}, {...}]
  }
  </code></pre>
  
  <p>Is there a way to make it so that angular will know that the <code>items</code> property is the array of items to be <code>$resource</code> objects?</p>