I'm trying to check the correct answer which is an array index value. So for example, the correct answer in the first question is "3", so the last radio button is should be selected.I am using $index of the ng-repeat to set the radio button value.
Your logic won't work, because the check is not on equality of the answer === correct, but the array number. On Tuesday, November 24, 2015 at 12:18:26 AM UTC-5, Sander Elias wrote: > > Hi Brad, > > Here you go: http://plnkr.co/edit/Sy6ll0XcOeS3PnINzdap?p=preview > > I expect some questions from you on the how and why ;) > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
