Simple play icon Course

Angular Template-driven Forms

by Jim Cooper

You can build forms in Angular almost completely inside your HTML templates with Angular's template-driven forms. This course will teach you how to build template-driven forms, create dynamic forms, validate forms data, and save that data to an API.

What you'll learn

Angular has two forms models to choose from: template-driven forms and reactive forms. Template-driven forms are simpler and are a great choice for most use cases. In this course, Angular Template-driven Forms, you'll learn the fundamentals of working with template-driven forms, and also advanced topics for working with complex and dynamic forms. First, you’ll explore the Angular architecture that powers both template-driven forms and reactive forms and the differences between the two paradigms. Next, you’ll discover how to build interactive forms by binding HTML input elements to a data model and how to validate user-entered data. Finally, you'll learn how to do more advanced template forms work, like creating dynamic forms and custom controls. When you’re finished with this course, you’ll have the skills and knowledge of Angular template-driven forms needed to build both simple and complex forms to gather data from the user.

Table of contents

Course Overview

About the author

Jim Cooper is a software developer at Pluralsight, with more than 20 years of software development experience. He has a passion for Agile processes, especially lean software development. Jim has been developing production Angular apps since before Angular version 1.0, including Pluralsight's first Html5-based video player. Jim has over 10 years of TDD and pair programming experience which has contributed significantly to his professional development. He has successfully mentored other developers... more

Ready to upskill? Get started