Lessons:9Length:59 minutes
Hands on angular create a registration form 400x277
  • Overview
  • Transcript

2.2 Adding a Data Model

In this lesson, you'll learn how to add a simple data model to the component's class that we can use to keep track of the form state. I'll then show you how we can link the controls in the form's templates to properties of the data model, so that we can easily capture data entered by the user.