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