Chapter 1: Getting Started with AngularJS
What if I want to write a CRUD app with a lot of animation?
A First Example
The View
The Module
The Controller
The Service
The Directive
Conclusion
Chapter 2: AngularJS Core Concepts
What is a Scope?
What is an AngularJS expression?
A Note About Unit Testing
Chapter 3: The Model in Detail
AngularJS Models
Don’t want your model to update immediately after a change?
Conclusion
Chapter 4: The View in Detail
Our View
Curlies And You
ngBindTemplate
ngRepeat
ngBindHtmlUnsafe
Other Special Variables
Controls
Checkboxes
Lists and Tables
Sorting and Filtering
Temporary Variables
Templates
Under the Hood
Conclusion
Chapter 5: The Controller in Detail
Adding Functionality to Our Controller
Dependency Injection
Creating a Controller
Unit Testing
Conclusion
Chapter 6: Directives in Detail
Adding Our Directive
Comment-Type Directive
Element-Type Directive
Class-Type Directive
The Widget
Conversing with jQuery
Custom Validation
More About Directives
Conclusion
Chapter 7: Services, Factories and Providers
Using services, factories, and providers
When To Use a Service?
When To Use a Factory?
The Provider
Unit Testing Services
Conclusion
Chapter 8: Filters
Adding Our Filter
Unit Tests
Conclusion
Chapter 9: Practical Applications
Ajax
Custom Headers
Unit Testing $http
Different Data Types
Spinners And The Like
Displaying Ajax Errors
Routing
Configuration
Unit Testing Routing
Promises, Promises
Debugging AngularJS Apps
I18n and L10n
Conclusion
Chapter 10: AngularJS and Third Party Tech
jQuery and AngularJS
AngularUI and uiJq
AngularJS and Twitter Bootstrap
Unit Testing the Modal Class
AngularJS and Other 3rd Party Apps
Unit Testing AngularJS with QUnit
Conclusion
· · · · · · (
收起)