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