Angular Forms In Depth – Udemy

(10 customer reviews)


Categories: , Tag:


What you’ll learn

  • Code in Github repository with downloadable ZIP files per section
  • Learn all about Template-Driven Forms
  • Learn all about Reactive Forms
  • Build custom validators, including asynchronous and multi-field validators
  • Build custom form controls, including a file upload component
  • Build reusable nested forms
  • Build a large production-scale multi-step enterprise form

This course is an in-depth guide to Angular template-driven and reactive forms, and it comes with a running Github repository.

This Course In a Nutshell

Angular is very often used to build in-house enterprise applications, which are usually quite form-intensive. This type of application usually has a large number of complex data entry forms, with all sorts of complex form validation rules.

Angular provides us with all the tools that we need to build these complex forms in a scalable and user-friendly way via the Angular Forms module.

There are two types of forms available: template-driven and reactive forms, and we will cover both types of forms in detail in this course. We will also compare them and explain when to use each form type and why.

Course Overview

We will start this course by implementing a simple form using template-driven forms and ngModel. We will understand exactly how ngModel and ngForm work under the hood and the several ways of using these directives for both data binding and form validation.

We will learn template-driven forms in detail, including how to build custom form validators using custom directives. Next, we will refactor the same template-driven form that we have built into a reactive form, and we will compare the two approaches.

We will then use reactive forms to build a much more complex data entry form with all sorts of different types of controls, nested groups, arrays of controls, custom validators, asynchronous validators, multi-field validations, form draft pre-saving, and much more.

The multi-step reactive form that we will be building will be something very close to what you will find in a production application, and it allow us to easily demonstrate all the powerful features of reactive forms in one large step-by-step exercise.

We will learn how to build reusable nested forms (like an address form), and we will also cover file upload in detail. We will build a custom file upload control with a progress indicator and cancel upload capabilities.

We will finish the course by providing a complete example demonstrating how to use Form Arrays.

Table of Contents

This course covers the following topics:

  • Introduction to the Angular Forms module

  • Angular Material form components

  • Template-driven Forms – how does ngModel work?

  • Typical Form validation rules

  • Form field validation error messages

  • Using ngModel for one-way binding and bi-directional data binding

  • Understanding ngModelOptions in detail

  • Template-driven form custom validator

  • How to use the FormBuilder service

  • Refactoring of a form from template-driven to a reactive form

  • Comparison between template-driven and reactive forms – when to use each and why

  • Why are they called reactive forms? Understanding the multiple Observables available

  • How to reset and set new values in a reactive form

  • Development of a complex form using reactive forms

  • How to use all types of commonly used form controls: normal inputs, text areas, radio buttons, checkboxes, calendars, auto-completion, etc.

  • The formGroup and formControlName, and formControl directives

  • Reactive forms custom validators – multi-field validation

  • Backend validation of a form field using async validators

  • Dependent fields – how to enable or disable some form fields depending on the values of other fields

  • Pre-saving a form draft

  • Building a multi-step form with Angular Material

  • Reusable nested forms (an address form)

  • Custom File Upload Form Control

  • Form Arrays

What Will you Learn In this Course?

At the end of the course, you will have learned everything that you need to know for designing and developing complex data entry forms, that are both maintainable and user-friendly.

You will be able to implement all sorts of commonly needed form validation rules, including the most advanced scenarios.

You will feel comfortable using both template-driven and reactive forms, and you will know when to use each and why.

Have a look at the course free lessons below, and please enjoy the course!

Who this course is for:

  • Angular Developers, trying to Learn in Depth everything about Angular Forms

Course content

  • Introduction
  • Template Driven Forms In Depth
  • Introduction to Angular Reactive Forms
  • Angular Reactive Forms In Depth
  • Angular Custom Form Controls
  • Form Arrays In Depth
  • Conclusion

10 reviews for Angular Forms In Depth – Udemy

  1. Donny Phan

    Super practical. Lessons are catered towards anyone looking to find work in this industry. It felt very comprehensive and gave me a broad understanding of the programming spectrum

  2. Madhav raj Verma

    Thanks for your great effort. i am fully satisfied with this course the way you teach and your explanation are very clear ,The content you provide in your course no one can do this at this price.

  3. Sachin Gupta

    I really didn’t want to leave a low rating as Angela is a great teacher. The 1st half of this course was terrific. The 2nd half was terrible. Under the justification of “teaching students how to figure things out on their own”, pretty much all videos and all explanations were dropped. You were just told what to do, given links to documentation and told to figure it out on your own. I understand doing that to some degree, but to revert to that entirely for nearly half the content barely makes this a course. It’s just a list of things for you to learn, then you’re left on your own to learn them. The 2nd half was so bad, especially the data science component, that I didn’t bother finishing the course.

  4. Vincent Beaudet

    Amazing 40 days course.
    Angela is a great teacher.
    The other 60 days are all about web developement, interacting with web pages, on your own with little to no explanations. I did not expect that at all. I wanted to learn more about software and scripting.
    This left me disappointed , confused and i started to doubt myself. Not a fun experience after the amount of effort i’v put in this course.

    Exercices format and explanations for the first 40 days were worth it tho.

  5. Ben K

    Not just an introduction to python, but really helps you learn fundamental aspects of python and coding in general. Some parts may require some knowledge on the subject (data science comes to mind) and there is quite some web development in the course. So, a few areas were not completely to my liking (I would have liked to see it done differently), but this course deserves the 5 stars in my opinion.

  6. Omid Alikhel

    I found the method a bit difficult when a code is written and then changed back to something different, with no enough explanation of how something happened and where it came from or a step by step explanation of why something is happening, i have no doubt in the instructors talent, but we are beginners!

  7. Devang Jain

    The course is not updated and most of the solution codes don’t work and there are no video solutions towards the end

  8. Szymon Kozak

    I think that the course tutor is really good in giving right information to learn at the right time. Thanks to this fact, my understanding of coding in python after 29 days of learning is above my expectations.

  9. Begoña Ruiz Diaz

    Ha sido la mejor elección que podría haber hecho.

  10. Vaibhav Sachdeva

    I want to thank Angela for making such an amazing course. It really helped me explore more things with python.

Add a review

Your email address will not be published.