ui-router

学习历程:1 ng-router --> 2 location  --> 3 $location -->  4 promise  --> 5 html5 history  --> 6 ui-router-->7动态加载

ng-router angular自带的路由

  文章链接:菜鸟教程  路由的解释  使用angularjs开发单页应用  angular ng-router路由详解  野兽 ngRoute Angular自带的路由

location

  文章链接:location对象

$location

  文章链接:angular中文Api using $location   官方api $location

promise

  文章链接:简书promise  脚本之家promise  张鑫旭promise的抽象认知  异步编程的简单实现

html5 history

  文章链接:脚本之家html5histroy

ui-router

  文章链接野兽ui-router  流浪猫ui-router  学习ui-router文章系列索引  官方api ui-router  ui-router学习笔记 嵌套路由   AngularJS 使用 UI Router 实现表单向导 

 动态加载

  文章链接: 官方文档  野兽的博文 另外一个 

  提示:(function(){})();注意后面还有一个();

 
原文地址:https://www.cnblogs.com/tonghaolang/p/6026011.html