title: Angularjs ng-disabled is disabling all of my buttons
body: <p>I have a function that is called on a click. Once it has been clicked, I want to disable the button that was clicked. So far all I was able to do was to get ALL buttons to disable when I click just one. I tried out putting <code>keys</code> but I had no luck with that.</p>
  
  <p>Here is my html:</p>
  
  <pre><code> &lt;tr ng-repeat="parcel in parcels"&gt;
      &lt;td&gt;&lt;a ng-href="http://www.local.com/orders/{{ parcel.id }}/edit/"&gt;{{ parcel.id }}&lt;/a&gt;&lt;/td&gt;
      &lt;td&gt;{{ parcel.tid }}&lt;/td&gt;
      &lt;td&gt;{{ parcel.srfn }}&lt;/td&gt; 
      &lt;td&gt;&lt;a  class="btn btn-success"  ng-disabled="isDisabled" ng-click="resolve({{parcel.id}})"&gt;Resolve&lt;/a&gt;&lt;/td&gt;                                  
   &lt;/tr&gt;        
  </code></pre>
  
  <p>Here is my controller:</p>
  
  <pre><code> $scope.isDisabled = false;
  
   $scope.resolve = function(id)
     {
      $scope.order_id = id;
  
      $http({
          method: 'GET',
          url: '/outboundsummary/' + $scope.order_id, 
      })
      .success(function(data){
          console.log(data.dp);
          $window.alert("Resolved!");
          $scope.isDisabled = true;
          return false;
  
      });
   }
  </code></pre>