angular/angular.js — pull request #1402 by fredrikbonander (2012-09-21 11:48:19+00:00)
Title: 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.