Extends $resource for clean server-side pagination