title: Checking whether the radio button is disabled or not
body: <p>I have a radio button. I need to add a value to the scope based on the radio button is disabled or enabled. </p>
  
  <pre><code>&lt;div ng-app="app"&gt;
  &lt;div ng-controller="Ctrl" class="cont"&gt;
      &lt;input type="checkbox" ng-model="checked" /&gt;
      &lt;input type="radio" ng-disabled='!checked' /&gt;
      &lt;p&gt;{{value}}&lt;/p&gt;
  &lt;/div&gt;    
  &lt;/div&gt;
  
  
  var app = angular.module('app', []);
  
  function Ctrl($scope) {
     if($scope.checked){
     $scope.value = "test";
    }   
  }
  </code></pre>
  
  <p><a href="http://jsfiddle.net/babtech/P3Y39/" rel="nofollow">fiddle</a></p>