AngularJS has some pretty interesting augmentation on the way forms work. Some basic validation is supported out of the box.And now for the confirm password field, it is still required, but we also need to verify that its value matches the value of the preceding input control. Form validation and custom validation directives are relatively easy with the changes in Angular 1.3. Try the sample plunk here. Lets look at the scenario where we need to confirm a new usersAngularJS already provides directives for the standard HTML validation attributes like required. AngularJS form validation enables you to develop a modern HTML5 form that is interactive and responsive.AngularJS allows you to crate your own custom validation directives. For example, you want to compare password and confirm password fields. Adding Custom Validation with AngularJS.ng-show"form.email.invalid !form.email.