Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

Cancel

Free Preview: How to Code Forms in Angular 2

Introduction

00:36
  • Overview
  • Transcript

If you're building a web app, at some point you'll need to get data from your users. The way to do this in HTML is with a `` block. Angular 2 has a lot of features that make it easy to create forms and manipulate form data.

In this Coffee Break Course, Reggie Dawson will show you how to create a form in Angular 2. You'll create a complete form component, with two-way binding of data and validation. Follow along, and you'll learn the ins and outs of coding forms with Angular 2.

We've built comprehensive guides to help you learn JavaScript and Angular, whether you're just getting started or you want to explore more advanced topics.

1.How to Code Forms in Angular 2
2 lessons, 11:47

Free Lesson
1.1
Introduction
00:36

1.2
How to Code Forms in Angular 2
11:11


1. How to Code Forms in Angular 2

1.1 Introduction

[MUSIC] If you're using Angular 2 to develop web apps there will probably be a time when you will need to grab some user input. You can of course accomplish this with a simple form. In Angular 2 there's a form module that provides many advanced features that make grabbing this data from your form simple. In this course we will learn to set up our form with Angular 2 so that the data will flow from our controls to our ad. We will also learn how to verify the data and prevent the user from submitting bad information. After viewing this Coffee Break course, you should have a firm understanding of how to use forms in your Angular 2 apps.