Pro AngularJS (Paperback)

Adam Freeman




AngularJS is the leading framework for building dynamic JavaScript applications that take advantage of the capabilities of modern browsers and devices. AngularJS, which is maintained by Google, brings the power of the Model-View-Controller (MVC) pattern to the client, providing the foundation for complex and rich web apps. It allows you to build applications that are smaller, faster, and with a lighter resource footprint than ever before.

Best-selling author Adam Freeman explains how to get the most from AngularJS. He begins by describing the MVC pattern and the many benefits that can be gained from separating your logic and presentation code. He then shows how you can use AngularJS's features within in your projects to produce professional-quality results. Starting from the nuts-and-bolts and building up to the most advanced and sophisticated features AngularJS is carefully unwrapped, going in-depth to give you the knowledge you need.

Each topic is covered clearly and concisely and is packed with the details you need to learn to be truly effective. The most important features are given a no-nonsense in-depth treatment and chapters include common problems and details of how to avoid them.

What you’ll learn

  • Gain a solid architectural understanding of the MVC Pattern to separate logic, data and presentation code.
  • Learn how to create rich and dynamic web apps using AngularJS
  • Understand how each feature works and why it is important
  • Understand how to extend HTML with declarative syntax
  • Learn how to extend and customize AngularJS
  • Learn how to test, refine, and deploy your AngularJS projects

Who this book is for

This book is ideal for web developers who have a working knowledge of JavaScript, HTML and CSS. The book is platform agnostic and a range of browsers will be presented and discussed throughout the examples.

Table of Contents

Part 1 - Getting Started
1. Getting Ready
2. Your First AngularJS App
3. Putting AngularJS in Context
4. HTML and CSS Primer
5. Javascript Primer
6. SportsStore: A Real Application
7. SportsStore: Navigation and Checkout
8. SportsStore: Administration 

Part 2 - Working with AngularJS
9. The Anatomy of an AngularJS App
10. Using Binding and Template Directives
11. Using Element and Event Directives
12. Working with Forms
13. Using Controllers and Scopes
14. Using Filters
15. Creating Custom Directives
16. Creating Complex Directives
17. Advanced Custom Directive Features 
Part 3 - AngularJS Modules and Services
18. Working with Modules and Services
19. Services for Global Objects, Errors and Expressions
20. Services for Ajax and Promises
21. Services for REST
22. Services for Views
23. Services for Animation and Touch
24. Services for Provision and Injection
25. Services for Testing