get form control value in angular 6 code example Example: angular access form control value formGroup.controls['nameOfTheField'].value