document.getElementById(productrate).value = data[0].purches_rate;
I am getting product rate value form js using above line
<input type="text" class="form-control" name="productrate" id="productrate{{$index}}"/>
But unable to passing that value in below change function
<input type="text" class="form-control" name="finalqty" ng-model="finalqty" ng-change="change_qty(productrate,finalqty)"/>
How can i Input value to ng change function in ng repeat. Is there any solution? please help
Thanks you