angular/angular.js — pull request #6004 by caitp (2014-01-27 19:09:51+00:00)
Title: fix(ngResource): don't append number to '$' in url param value when encoding URI

Previously, if a URL parameter value included a $, it would replace the dollar
sign with a literal
'$1' for mysterious reasons. Using a function rather than a replacement string
circumvents this behaviour and produces a more expected result.

Closes #6003