angular/angular.js — pull request #1408 by adrian-gheorghe (2012-09-23 00:13:41+00:00)
Title: fix($resource): Prevent default params to be shared between actions

Having a $resource defined as:

var R = $resource('/Path', {}, {
get: {method: 'GET', params: {objId: '1'}},
perform: {method: 'GET'}
});

was causing both actions to call the same URI (if called in this order):

R.get({}); // => /Path?objId=1
R.perform({}); // => /Path?objId=1