title: How to use ng-if with ng-disabled
body: <p>Below is my Code. </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var myfriend = angular.module('myfriend',[]);
  
  myfriend.controller('myfriendController', function($scope) 
  {
     $scope.record = [
         {     "id" : "01",
              "firstname" : "Mohan ",
              "middlename" : "K",
              "lastname" : "Futterkiste1"
          },{
               "id" : "04",
              "firstname" : "Rohan ",
              "middlename" : "A",
              "lastname" : "Futterkiste2"
          },{
                "id" : "08",
              "firstname" : "sohan ",
              "middlename" : "M",
              "lastname" : "Futterkiste3"
          }
     ]
    
                     
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
    &lt;head&gt;
            &lt;script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"&gt;&lt;/script&gt;
  
    &lt;/head&gt;
    &lt;body ng-app="myfriend"&gt;
      
          
      
      &lt;table class="table" style="border:1px red solid; width:100%; "  ng-controller="myfriendController"&gt;
        &lt;thead&gt;
          &lt;tr&gt;
           &lt;th&gt;Id&lt;/th&gt;
            &lt;th&gt;First name&lt;/th&gt;
            &lt;th&gt;Middle name&lt;/th&gt;
               &lt;th&gt;Last name&lt;/th&gt;
          &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody&gt;
          &lt;tr ng-repeat="x in record"&gt;
               &lt;th&gt;{{x.id}}&lt;/th&gt;
               &lt;th&gt;&lt;input type="text" ng-value="x.firstname"&gt;&lt;/th&gt;
                  &lt;th&gt;&lt;input type="text" ng-value="x.middlename"&gt;&lt;/th&gt;
                  &lt;th&gt;&lt;input type="text" ng-value="x.lastname"&gt;&lt;/th&gt;
          &lt;/tr&gt;
                &lt;tr&gt;
                  &lt;td&gt;&lt;button&gt; Submit&lt;/button&gt;&lt;/td&gt;
                &lt;/tr&gt;
        &lt;/tbody&gt;  
   &lt;/table&gt; 
    &lt;body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>What I want is on click of submit button, it should disabled the field of Rohan only(Rohan is coming through ng-repeat).I want to achieve this through ng-disabled in ng-if.</p>
  
  <p>Help me for this.</p>