I have array in Angular typescript
{
"data": [
{
"name": "string",
"description": "string",
"chackboxes": [
{
"checkboxName": "string",
"displayName": "string"
}
]
}
]
}
I want to create Form array inside for group with formcontrols checkBox name. Something like this -> FormArray[FormGroup[formControl, formcontrol], FormGroup[],]... so I can loop first through array and than through groups. And set checkboxes.