O'Reilly logo

AngularJS: Novice to Ninja by Sandeep Panda

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 7Understanding AngularJS Forms

A form is one of the basic requirements for any CRUD app. You'll likely have different forms for different kind of operations. The good news is that AngularJS offers a nice form API that, not only lets you bind form controls to scope models, but also allows you to validate each control easily. This chapter will focus on form handling and validation in AngularJS.

AngularJS Forms

What's a form? Well, it's just a container that groups several related input controls together. A control is an HTML element (such as input, select, textarea) that lets users enter data. You already know AngularJS provides us with the very useful ng-model directive that keeps the input control value and scope model in sync. So, to ...

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