angular/angular.js — Issue #738: extract url parsing / composing into reusable service
Author: vojtajina
Created: 2012-01-29 21:30:30+00:00
State: open

something like this:

compose(/path/:verb, {verb:'greet', salutation:'Hello'});
// results in URL /path/greet?salutation=Hello

$route does similar (reverse) stuff when parsing an url into params...