I have personInvolved component. This component has personDetails component. There is a button in personInvolved component. Onclick of the button I need to append the person
Use *ngFor:
*ngFor
Add person
And in the component code:
persons: Array = []; addPerson() { this.persons.push(new Person()); }