4th November 2022. These classes are: .ng-pristine, .ng-dirty, .ng-invalid and .ng-valid as well as any other validations that are performed Angular 10.0.0 2. ng new angular- material - form. You can use npm command-line tool to install packages. I need to perform a common operation when users press the button, that is submit the form, but also I need to differentiate between the buttons, because I need to redirect the user to different pages, depending on the button pressed. This is a quick example of how to build a form in Angular that supports both create and update modes. Create some files and also install all the dependencies related project. Create a simple CRUD operation using Angular 11 and WEB API.Use Angular Material theme and use maximum angular material controls to implement CRUD operation using Angular 11 like a radio button, date picker or calendar control, textbox, dropdown control and Implement cascading dropdown using angular 11. Create the model WebAngularJS Forms. Different examples are mentioned below: 1) demo.login.component.html code: