Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this Book
About the Authors
About the Cover Illustration
1. Get acquainted with AngularJS
Chapter 1. Hello AngularJS
1.1. Advantages of using AngularJS
An intuitive framework makes it easy to organize your code
Testable code makes it easier to sleep at night
Two-way data binding saves you hundreds of lines of code
Templates that are HTML means you already know how to write them
Data structures that are just JavaScript make integration really easy
1.2. The AngularJS big picture
1.3. Build your first AngularJS application
1.3.1. The module
1.3.2. Views and controllers
1.3.3. Services
1.3.4. Directives
1.4. Summary
Chapter 2. Structuring your AngularJS application
2.1. Hello Angello
2.2. AngularJS application structure
2.3. Laying the Angello foundation
2.4. Basic routes and navigation
2.5. A few best practices
2.6. Summary
2. Make something with AngularJS
Chapter 3. Views and controllers
3.1. The big picture
3.2. What is an AngularJS view?
3.3. What is an AngularJS controller?
3.3.1. The digest cycle
3.3.2. Controller as syntax
3.3.3. AngularJS events
3.4. Properties and expressions
3.4.1. Display stories with ngRepeat
3.4.2. Filters
3.4.3. Expressions
3.5. Best practices and testing
3.6. Summary
Chapter 4. Models and services