ng-class="{'active' : question.chosen == key}"
The above sets my class as active
when question.chosen
matches key
. This means that $scope.question.chosen
only has a single value.
In the even $scope.question.chosen
has ["a","b","c"]
how would I iterate through that with ng-class to match key
?