页面传参数方法:1、$rootScope。2、(url)/user/:name/:age。
页面转换方法:1、href="#/" rel="external nofollow" rel="external nofollow" rel="external nofollow" 。2、$state.Go。3、$location.path。4、ui-sref
(1)自带路由ngRoute
AngularJS 路由实例
AngularJS 路由应用
名:
- 首页1
- second
- 打印机
- 其他
(2)ui-router
AngularJS 路由实例
- 首页1
- second
- third
下载地址:angu_demo_jb51.rar
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持考高分网。



