标签:
var urlMatcher = $urlMatcherFactory.compile(config.url);
var url = $urlRouter.href(urlMatcher, {
query:123,
stepIndex: ‘kkkkdfasdfasd‘
});
console.log(url);
ui-router用$urlRouter, $urlMatcherFactory通过urlMatcher转换成实际url
标签:
原文地址:http://www.cnblogs.com/kinogam/p/4451020.html