One of two types of built-in form validation from Angular, reactive forms allow us to create form objects and link them to forms, which lets us add validation.
See step-by-step how to create a custom validator in a reactive Angular form with a login screen that requires a confirmation password to match the original password.