angular页面跳转

1.本页跳转

$window.location.href = URL;
依赖注入$window
2.打开新的页面并跳转
window.open(URL)
3.状态跳转
$state.go('index.search', {tests: abc});
状态页 参数 值