Registration Form Submission
In this lesson, we'll handle the form submission for the registration form.
We’re going to need to listen for the submit event on the form. We’ll use the ngSubmit
directive to help us handle the form submission. This directive will prevent the page from refreshing when the form is submitted.
In the register.component.html
template file, we’ll add the directive to the <form>
element.
Get hands-on with 1400+ tech skills courses.