how to enable textbox under ng-repeat
<p><a href="https://i.stack.imgur.com/8fJR6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8fJR6.png" alt="enter image description here"></a>I have a functionality in which I take list of clients from user, first I store this list in the List Object in angularjs controller and then send it to the server. The problem is, When I take input from user, I have given some text boxes and after user fills up all the data, user clicks on ADD button next to the text boxes, Then the record just added gets appended to the blank row which is designed to take input. I have made a provision that the records are appended are "Read Only" or say "Disabled" and A UPDATE button next to it.
What I want is how do I write the code which will "Enable" a particular row whose update button is clicked. I have used angular js for it I am sharing some code snippet and one representative image for better understanding,
Please help..!!
Thank you
JSP page</p>

<pre><code>&lt;tbody id="insertionRow" ng-init="edit=true"&gt;
        &lt;tr&gt;    
            &lt;th&gt;#&lt;/th&gt;
            &lt;th class="required"&gt;Name&lt;/th&gt;
            &lt;th&gt;Email&lt;/th&gt;
            &lt;th&gt;Phone No&lt;/th&gt;
            &lt;th&gt;Add&lt;/th&gt;
            &lt;th&gt;Delete&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr data-ng-repeat="c in ctrl.client.clientOwnerVOList"&gt;
        &lt;td&gt;{{$index + 1}}&lt;/td&gt;
        &lt;td class="col-lg-3"&gt;&lt;input type="Text" class="form-control"
            data-ng-model="c.clientOwnerName"
            id="clientOwnerName{{$index + 1}}" data-ng-disabled="isDisable(c)" id="name"&gt;
        &lt;/td&gt;

        &lt;td class="col-lg-4"&gt;&lt;input type="Email" class="form-control"
            data-ng-model="c.clientOwnerEmail"
            id="clientOwnerEmail{{$index + 1}}" data-ng-disabled="isDisable(c)"&gt;&lt;/td&gt;

        &lt;td class="col-lg-3"&gt;&lt;input type="Text" class="form-control" 
            data-ng-model="c.clientOwnerPhone" data-ng-disabled="isDisable(c)"
            id="clientOwnerPhone{{$index + 1}}"&gt;&lt;/td&gt;

        &lt;td&gt;
            &lt;button id="add{{$index + 1}}" type="button"
                 data-ng-if="ctrl.client.clientOwnerVOList.indexOf(c)==0" data-ng-click="insert(c)"
                class="btn btn-sm btn-default"&gt;
                &lt;i class="fa fa-plus fa-lg"&gt;&lt;/i&gt;
            &lt;/button&gt;
            &lt;button id="edit{{$index + 1}}" type="button"
                data-ng-if="ctrl.client.clientOwnerVOList.indexOf(c)&gt;0"
                class="btn btn-sm btn-default"&gt;
                &lt;i class="fa fa-edit fa-lg"&gt;&lt;/i&gt;
            &lt;/button &gt;
            &lt;button id="refresh{{$index + 1}}"  type="button" style="display:none"
                class="btn btn-sm btn-default"&gt;
                &lt;i class="fa fa-refresh fa-lg"&gt;&lt;/i&gt;
            &lt;/button&gt;
        &lt;/td&gt;

        &lt;td&gt;&lt;button type="button" data-ng-if="ctrl.client.clientOwnerVOList.indexOf(c)&gt;0"
                ng-click="remove(c);" class="btn btn-sm btn-default"&gt;
                &lt;i class="fa fa-trash fa-lg "&gt;&lt;/i&gt;
            &lt;/button&gt;
            &lt;button type="button" data-ng-if="ctrl.client.clientOwnerVOList.indexOf(c)==0"
                class="btn btn-sm btn-default"&gt;
                &lt;i class="fa fa-trash fa-lg "&gt;&lt;/i&gt;
            &lt;/button&gt;
        &lt;/td&gt;

    &lt;/tr&gt;
&lt;/tbody&gt;
</code></pre>

<p>Controller Code</p>

<pre><code>$scope.insert=function(clientOwner){
    self.client.clientOwnerVOList.push({clientOwnerName:clientOwner.clientOwnerName,clientOwnerEmail:clientOwner.clientOwnerEmail,clientOwnerPhone:clientOwner.clientOwnerPhone});

                      clientOwner.clientOwnerName="";
                      clientOwner.clientOwnerEmail="";
                      clientOwner.clientOwnerPhone="";
    }

   $scope.isDisable = function(clientOwner){
              //alert("in new isDisable");
              if(self.client.clientOwnerVOList.indexOf(clientOwner)==0){
                  return false;
                }
              else{
                  return true;
              }

          }
</code></pre>