angular.js
angular.js copied to clipboard
ngResource: '$' in pamater values are not escaped properly
1 liner demonstration in a browser JS console:
angular.injector(['ngResource']).get('$resource')('/search/:str').get({'str': 'hello$'}) GET http://docs.angularjs.org/search/hello$1 404 (Not Found)
Notice the extra '1' in the URL.
Interesting, I've taken a stab at correcting this, would you care to try my patch and see if it introduces any regressions not caught by the tests?