FormArray in Angular
This Article helps you to Understand, FormArray in Angular
A collection of form controls is called a FormArray.
Except for one exception, it is similar to FormGroup. Every FormControl within a FormGroup has a property with the control name as the key. An array of form controls is in FormArray. When we wish to dynamically construct form controls like "input" and "select," we use FormArray.
Lets Add Logic to create New Input field at run time to add new user
Lets add Form Module in app.module.ts
Example 2: Can Handle a Complex Object in FormArray
Our Template would be