Вы можете использовать директиву ng-disabled
, которую angularjs предоставляет для этой цели.
Например
HTML:
<form id="{{e.QuizQuestionID}}">
<div ng-repeat="s in e.option" id="e.QuizQuestionID">
<label>
//ng-disabled used here
<input name="options"
type="radio"
ng-disabled="quizIsDisabled(e.QuizQuestionID)"
ng-click="check(e.QuizQuestionID,s.QqID)">
</label>
<span>{{s.ops}} </span>
</div>
</form>
В вашем контроллере:
$scope.quizIsDisabled = function(id){
//do you logic here, for example
return ["we32a","ewd23","4dscs"].indexOf(id) != 0
}