Return to book
Review this book
About the author
Introduction
1.
环境安装
1.1.
Rails 环境支持Karma
2.
AngularJS基础知识
2.1.
Foundations
2.1.1.
Providers
2.1.1.1.
Constant
2.1.1.2.
Value
2.1.1.3.
Constant vs Value
2.1.1.4.
Service
2.1.1.4.1.
service demo code
2.1.1.5.
Factory
2.1.1.5.1.
factory demo code
2.1.1.6.
Provider
2.1.1.6.1.
provider code
2.1.1.7.
Service vs Factory vs Provider
2.1.1.8.
Decorator
2.1.1.8.1.
Decorator demo code
2.1.1.8.1.1.
Decorator Demo Code HTML
2.1.1.8.1.2.
Decorator Demo Code CSS
2.1.2.
$compile
2.1.3.
Model View Whatever
2.1.3.1.
model view code
2.1.3.1.1.
model view demo code html
2.1.3.1.2.
model view demo code CSS
2.1.3.1.3.
model view demo code javascript
2.1.4.
Controller and $Scope
2.1.4.1.
In Depth(optional)
2.1.4.1.1.
$digest
2.1.4.1.1.1.
test $digest
2.1.4.1.2.
$apply
2.1.4.1.2.1.
$apply demo
2.1.4.1.3.
$digest vs $apply
2.1.4.1.4.
config vs run
2.1.4.2.
$watch
2.1.4.3.
$on
2.1.4.4.
$broadcast and $emit
2.1.4.5.
$new
2.1.4.6.
HOWTO test controller
2.1.5.
Models and Services
2.1.5.1.
model service code
2.1.6.
View and Templates
2.1.7.
Routes
2.1.7.1.
route demo code
2.1.7.1.1.
route demo code html
2.1.7.1.2.
Route demo code CSS
2.1.7.1.3.
route demo code javascript
2.1.7.2.
$routeProvider
2.1.7.3.
$routeChangeStart
2.1.7.4.
$routeChangeSuccess
2.1.8.
FAQs
2.1.9.
Summary
3.
Directive
3.1.
AngularJS Directive Basics
3.1.1.
Directives as a DSL
3.1.2.
The Simplified World View Directive
3.1.3.
Definition Object
3.1.4.
The Controller Function The Link Function
3.1.5.
Simple directive
3.1.6.
Simple directive with jquery
4.
Advanced AngularJS Directives
4.1.
Isolated Scope
4.2.
Compile
4.3.
Transclusion
4.4.
3rd Party Integration
5.
Server Side Integration with AngularJS
5.1.
REST and $HTTP Promises
5.1.1.
$http
5.1.2.
$http Shortcut methods
5.1.3.
Setting HTTP Headers
5.2.
Promises
5.3.
Interceptors
6.
unit testing
6.1.
Service Test
6.2.
Controller Test
6.3.
Directive Test
7.
环境安装
7.1.
With yeoman
7.2.
安装ROR with mongodb
7.3.
组织AngularJs结构
7.3.1.
初始化app.module.js
7.3.2.
安装Core
7.3.2.1.
安装core.module.js
7.3.2.2.
安装constant
7.3.2.3.
安装value
7.3.2.4.
安装config
7.3.3.
安装layout
7.3.3.1.
安装layout.module.js
7.3.4.
安装data
7.3.5.
安装directives
7.3.5.1.
安装directives.module.js
8.
实战TODO应用
8.1.
安装todo.module.js
8.2.
安装todo.controller.js
8.3.
安装todo.route.js
8.4.
安装index.html模板
8.5.
设置application.js
9.
技巧
9.1.
如何通过element获取scope
9.2.
Restangular
Powered by
GitBook
A
A
Serif
Sans
White
Sepia
Night
Twitter
Google
Facebook
Weibo
Instapaper
AngularJS Foundations
$routeProvider
参考
https://docs.angularjs.org/api/ngRoute/provider/$routeProvider