title: Globally transform ngResource query()
body: <p>I would like to transform the query() response of Angular's ngResource. No problem doing it by overriding the method in each factory/resource but how can I do it so that my transform applies to all query() methods across all resources?</p>
  
  <p>I have tried using <code>$httpProvider.defaults.transformResponse</code> but I see no way to differentiate between a query() call and all the other ones.</p>
  
  <p>I am wanting to return pagination metadata - perhaps there is another way that might be clearner?</p>