Extend angular.$location with support for a parametrized URL template with parameters (like angular.$resource) prefixed by `:`.