Updated example for resource.js

Request Type: docs

How to reproduce: 

Component(s): ngResource

Impact: medium

Complexity: small

This issue is related to: 

**Detailed Description:**

Wrong parameters in example of query function of ngResource

**Other Comments:**