This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
new service available : getParams
angular.mock.backend.addResource(function(getParams) {
var url = '/user?param1=abc¶m2=def';
var paramMap = getParams(url);
console.log(paramMap.param1); // abc
console.log(paramMap.param2); // def
});