Lets say, I'm having 5 text box which are created dynamically. All fields having default value that are coming from database and that are binded to input field.
<html>
<div data-ng-repeat="Input in InputArray">
Input Field
<label>{{$index + 1}} : </label>
<input type="text" data-ng-model="Input.InputValue" data-ng-change="" />
</div>
<div>
Calculated Result :
<label>{{CalculatedValue}}</label>
</div>
<div>
<input type="button" name="Update Calculated Result to 3rd Input Field" data-ng-click="" />
</div>
</html>
I'm having label which have Calculated value. Its value is updated from another input field.
I want to update particular / only one text box value from that label value on a button click.
Is it possible to update by using ID of input field?