I have an angular application to enter words in a table with two fields, I have to take all the ones you enter and compose it in JSON.

```html
 ngOnInit() {
    this.refactorForm = this.formBuilder.group({
      'word_to_rename' : [null, Validators.required],
      'renowned_word' : [null, Validators.required]

    });
  }
```

this is the object that captures, I've seen something that should be done with array but I don't know how to do it. only the first row of the table captures me.

[![enter image description here](https://i.stack.imgur.com/B0Cf7.png)](https://i.stack.imgur.com/B0Cf7.png)