title: Unable to get value of radio button in angular
body: <p>I have these radio buttons but I can't get value from those on submit. I tried this exactly the same: <a href="http://plnkr.co/edit/4lvJclZuh0lryF1nhmdt?p=preview" rel="nofollow noreferrer">http://plnkr.co/edit/4lvJclZuh0lryF1nhmdt?p=preview</a></p>
  
  <p>HTML: </p>
  
  <pre><code>        &lt;body ng-controller="ExamCtrl"&gt;
             &lt;form name="myForm" ng-submit="submitForm()"&gt;
               &lt;label&gt;&lt;input type="radio" name="test" ng-model="radioValue" value="1"/&gt; One&lt;/label&gt;
               &lt;label&gt;&lt;input type="radio" name="test" ng-model="radioValue" value="2"/&gt; Two&lt;/label&gt;
               &lt;label&gt;&lt;input type="radio" name="test" ng-model="radioValue" value="3"/&gt; Three&lt;/label&gt;
               &lt;div&gt;currently selected: {{radioValue}}&lt;/div&gt;
               &lt;button type="submit"&gt;Submit&lt;/button&gt;
             &lt;/form&gt;
          &lt;/body&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>   $scope.submitForm = function () {
         console.log('Submitting');
         console.log($scope.radioValue);
     };
  </code></pre>
  
  <p>It logs 'Submitting' and then <code>undefined</code>.</p>