fix($resource): Route constructor, updated RegExp
Update RegExp to allow urlParams with out leading slash (/).
- Will allow reoucese to be loaded from a relative path
Example:
var R = $resource(':path');
R.get({ path : 'data.json' });
Example usage:
Load resources in applications not using webserver, ie local webapp in on a tablet. F
Fredrik Bonander committed
06ed8ef0127bf80610eba17b5021d1f483d0b0bf
Parent: 2f437e8
Committed by Misko Hevery <misko@hevery.com>
on 1/19/2013, 5:28:15 AM