angularjs中实现页面跳转,并传递参数的方法

1. 最简单的用到js的原生方法: window.location.href= "http://" + window.location.host + "/xxxx"; 需要携带参数的可以在后面加?xxx=xx&xxx=xx 2. 用angularjs的ui-router,  $stateProvider.state来实现 参考:https://blog.csdn.net/weixin_361850
相关文章
相关标签/搜索