fix(ngResource): correct leading slash removal.
Fixed an issues with ngResource param substitution where it was incorrectly removing leading slash when param was followed by a non-slash character.
Ex:
'/:foo/:bar.baz/:aux'
params = {
foo: 'aaa',
bar: undefined,
aux: undefined
}
The above params were incorrectly producing '/aaa.baz' but now it results in '/aaa/.baz'. P
pavelgj committed
b2f46251aca76c8568ee7d4bab54edbc9d7a186a
Parent: a26234f
Committed by Misko Hevery <misko@hevery.com>
on 1/19/2013, 4:52:57 AM