会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
魔豆的BLOG
博客园
首页
联系
订阅
管理
2016年10月3日
angularjs中的$state.go
摘要: 路由是这么定义的: 用ng-href跳转的话,是这么写的: ng-href="#/page1" ng-href="#/page2/1" 用$state.go跳转的话,是这么写的: $state.go("page1"); $state.go("page2",{type:1}); 用ui-sref跳转的
阅读全文
posted @ 2016-10-03 12:04 魔豆
阅读(15411)
评论(0)
推荐(0)
编辑
公告