I have a FormArray inside a form and the FormArray has a string parameter called "Foo". I tried to do:
let formArray = this.form.get("Foo") as FormArray;
let formArrayValues : {Foo : string}[];  //this will be put into the ts model to be sent out.
I am not sure how i can iterate through the FormArray, get the value "Foo" and put it into my new array. I tried :
for (let c of formArray.controls) {
   formArrayValues.push(c.get("Foo"));
}
but it seems i get error saying "Foo" is missing in type in AbstractControl. I am a bit lost here and I did search around but didn't find anything similar. Thanks
c.get("Foo")you can read the value of a control withc.value