O'Reilly logo

Pro AngularJS by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12

image

Working with Forms

In this chapter I describe the support that AngularJS provides for working with form elements, starting with data binding and then moving on to the different kinds of form validation that are available. AngularJS uses directives to seamlessly enhance standard form elements such as form, input, and select, and I finish this chapter by describing the additional attributes that the directives provide to help integrate forms into the AngularJS development model. Table 12-1 summarizes this chapter.

Table 12-1. Chapter Summary

Problem

Solution

Listing

Create two-way model bindings.

Use the ng-model directive. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required