title: How to change only specific color of radio button in angular?
body: <p>I have crated angular application for examination in which user gives exam and finally show full report with selected answer I have used ng-repeat for radio button to show options and I want to show user has selected answer and corrected answer if user has selected wrong than its should be red else green but it I have checked using conditions but it changing all radio button colors here is code</p>
  
  <pre><code>&lt;div class="md-radio"
               data-ng-repeat="data in vm.examQuestions.allOptions track by $index"
               ng-class="{correct:vm.examQuestions.attemptQuestions.yourChoice === vm.examQuestions.correctanswer ||
               vm.examQuestions.correctanswer === vm.optionsArr[$index],
          'has-error':vm.examQuestions.attemptQuestions.yourChoice !== vm.examQuestions.correctanswer}"&gt;
              &lt;span class="lblOption"&gt;{{vm.optionsArr[$index]}}&lt;/span&gt;
              &lt;input type="radio" id="{{$index+6}}" name="radio{{$index}}" class="md-radiobtn"
                     ng-model="vm.examQuestions.attemptQuestions.yourChoice"
                     ng-value="vm.optionsArr[$index]"
                     ng-disabled="true"&gt;
              &lt;label for="{{$index+6}}"&gt;
                  &lt;span class="inc"&gt;&lt;/span&gt;
                  &lt;span class="check"&gt;&lt;/span&gt;
                  &lt;span class="box"&gt;&lt;/span&gt;
                  &lt;label ng-if="'string' === vm.checkOptionString(data);"&gt;{{data}}&lt;/label&gt;
                  &lt;img ng-src="{{data | examOptions}}" ng-if="'URL' === vm.checkOptionString(data);" width="40px"&gt;
              &lt;/label&gt;
  </code></pre>
  
  <p>can someone tell me how to apply color only to specific radio button if user has selected right or wrong options
  thanks in advance</p>