Hy guys, I'm having troubles showing and removing button in ng-repeat.
<div class="row" ng-repeat="a in b">
<button type="button" ng-click="add()">+</button>
<button type="button" ng-click="remove()">-</button>
</div>
it's repeating b times, I want to be visible only add button and on click i want to hide add button and show remove button, but only in that exact iteration. I don't want other repeats to be affected. Also for remove button on click I want to hide it and show add button again.
I could do it inside controller or inline.
Thanks in advance!