title: Toggle Radio buttons on click angularjs
body: <p>How can I toggle radio buttons lke upon clicking each one should enable the corresponding element say  element and vice versa.
  Code that I tried:</p>
  
  <p>CheckBox 1: <code>&lt;input type="radio" name="somethign" value="1" ng-model="checkboxSelection" ng-click="disable1='true';disable2='false'"/&gt;</code>  </p>
  
  <pre><code>&lt;select ng-model="something" ng-options="r.id as r.name for r in data1" ng-disabled="disable1"&gt;
  </code></pre>
  
  <p>CheckBox 2: <code>&lt;input type="radio" name="somethign" value="2" ng-model="checkboxSelection" ng-click="disable2='true';disable1='false';"/&gt;</code>  </p>
  
  <pre><code>&lt;select ng-model="something" ng-options="r.id as r.name for r in data2" ng-disabled="disable2"&gt;
  </code></pre>
  
  <p>I'm not to toggle based on the above code.Can anyone pls suggest a different alternative?Thanks</p>