[Solved] How to append children to object dynamically
The most easy way is pass as argument the index of “terms”. Put two buttons, one to AddTerms and another one to hideTerms/showTerms. <div *ngFor = “let term of terms;let i=index”> <!–see the way to get the index of the array –> <div class=”row tr”> {{term.id}} <!–you make a link, I use a button–> <!–the … Read more