Tag: angular2
-
Learn how to create forms with validations in angular 2
Angular has provided us with modules with which we can not only write forms but also make them reactive. Let see how Angular 2/ Angular 4 helps us create forms. Modules to be imported Firstly we need two modules import {FormsModule, ReactiveFormsModule} from ‘@angular/forms’; and add them to the @NgModule’s import section. Adding FormBuilder and […]