I need to create a form to register the partners of a company.
There is a checkbox, that when it is checked 1 field is enable and you can insert the information, for ex: -> name of partner.
But if the user wants to register more the 1 partner, could be a button that create another field to insert other name.
How can I work with this name fields? When I used PHP, I put the field like this:
And I get the values = name[0] ... name[1] ...etc
In Angular 2, how can I do this?