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 Closes #6004
C
Caitlin Potter committed
ce1f1f97f0ebf77941b2bdaf5e8352d33786524d
Parent: 8205158