angular get formcontrol from formgroup code example
Example 1: formgroup addcontrol
let form: FormGroup = new FormGroup({});
form.addControl(field_name, new FormControl('', Validators.required));
Example 2: accessing formcontrol from fromgroup
this.myForm.controls["key"]
(or)
this.myForm.get("key")