title: How to validate the radio button inside ng-repeat?
body: <p>I have the below code for student's assignment status marking. My problem is it is not necessary that all students should be marked. The user might mark some might not. Now  how to validate that at least one user must be marked else there should be some validation message displayed.</p>
  
  <p>Thanks in advance!</p>
  
  <pre><code>&lt;div class="table-responsive"&gt;
              &lt;table class="table table-striped"&gt;
                  &lt;thead&gt;
                      &lt;tr&gt;
                          &lt;th&gt;Name&lt;/th&gt;
                          &lt;th&gt;Complete&lt;/th&gt;
                          &lt;th&gt;Incomplete&lt;/th&gt;
                      &lt;/tr&gt;
                  &lt;/thead&gt;
                  &lt;tbody&gt;
                      &lt;tr ng-repeat="record in studentRecord.AssignmentStatus"&gt;
                          &lt;td&gt;{{record.Name}}&lt;/td&gt;
                          &lt;td&gt;&lt;input type="radio" value=Complete ng-model="record.Status" /&gt;&lt;/td&gt;
                          &lt;td&gt;&lt;input type="radio" value=Incomplete ng-model="record.Status" /&gt;&lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/tbody&gt;
              &lt;/table&gt;
              &lt;button class="btn btn-primary pull-right" ng-click="updateAssignment(studentRecord)"&gt;Submit&lt;/button&gt;
          &lt;/div&gt;
  </code></pre>