title: How to set ng-disabled inside directive
body: <p>My directive has</p>
  
  <pre><code>link: function ($scope, $elm, $attrs) {
      var status = $scope.item.status
      if (status) {
          var statusName = status.name,
              item = $scope.item;
          if (statusName === 'USED') {
              $attrs.$set('ng-disabled', true); // this doesn't work
          } else {
              $elm.attr('ng-disabled', false);
          }
      }
  }
  </code></pre>
  
  <p>So, my question is:</p>
  
  <p>How to apply ng-disabled to element with this directive?</p>