http://plnkr.co/edit/NDTgTaTO1xT7bLS1FALN?p=preview
<button ng-click="addRow()">add row</button>
<div ng-repeat="row in rows">
<input type="text" placeholder="name"><input type="tel" placeholder="tel">
</div>
I am currently facing an issue while trying to add new rows and saving the fields. I need help with figuring out how to determine the current number of rows and incrementing to push into the array.