Book description
Develop smaller, lighter web apps that are simple to create and easy to test, extend, and maintain as they grow. This hands-on guide introduces you to AngularJS, the open source JavaScript framework that uses Model–view–controller (MVC) architecture, data binding, client-side templates, and dependency injection to create a much-needed structure for building web apps.
Table of contents
- Preface
- 1. Introduction to AngularJS
-
2. Anatomy of an AngularJS Application
- Invoking Angular
- Model View Controller
-
Templates and Data Binding
- Displaying Text
- Form Inputs
- A Few Words on Unobtrusive JavaScript
- Lists, Tables, and Other Repeated Elements
- Hiding and Showing
- CSS Classes and Styles
- Considerations for src and href Attributes
- Expressions
- Separating UI Responsibilities with Controllers
- Publishing Model Data with Scopes
- Observing Model Changes with $watch
- Performance Considerations in watch()
- Organizing Dependencies with Modules
- Formatting Data with Filters
- Changing Views with Routes and $location
- Talking to Servers
- Changing the DOM with Directives
- Validating User Input
- Moving On
- 3. Developing in AngularJS
- 4. Analyzing an AngularJS App
- 5. Communicating with Servers
- 6. Directives
- 7. Other Concerns
- 8. Cheatsheet and Recipes
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: AngularJS
- Author(s):
- Release date: April 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449344856
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Unit Testing Principles, Practices, and Patterns
Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target the …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …