title: Do something on radio button selection change AngularJS
body: <p>I need to refresh some data depending on selection of a particular radio button group. </p>
  
  <p>working plunker <a href="http://plnkr.co/edit/kZhsiU4pVpHhoscVkvMQ?p=preview" rel="nofollow">http://plnkr.co/edit/kZhsiU4pVpHhoscVkvMQ?p=preview</a></p>
  
  <p>But I can get neither the ng-change nor the ng-click to execute my method which updates name and makes Hello World to show Hello 'selection'.</p>
  
  <pre><code>$scope.updateValue = function(){
      $scope.name = $scope.data.myNumber;
    };
  </code></pre>
  
  <p>But I can see that the two way data binding works - so the model is getting updated. </p>
  
  <pre><code>&lt;span&gt;You selected {{ data.myNumber }}&lt;/span&gt;
  </code></pre>
  
  <p>On a side note: another thing I tried is to watch the model value and execute what I want to do, but that does not work either - the watchcollection is not triggered ever again other than at page load. </p>
  
  <p>The plunker is just a representation of the radio button selection problem - what I want to achieve in the data refresh is more complex.</p>
  
  <p>Any help would be much appreciated. </p>