1
<tr ng-repeat="school in schools">
<td>{{school.Location}}</td>
<td>{{school.Type}}</td>
<td>{{school.Name}}</td>
<td class="school-action text-center">
<label>
<input type="radio" name="masdoc-school" class="flat-red" />
</label>
</td>
</tr>
私はすでに$ scope.schoolsが、私は入力のインデックスを選択し得ることができますどのように、配列オブジェクトである NGリピートAngularJSでICheckラジオボタンを使用して、選択したインデックスを取得します
$('input[type="radio"].flat-red').iCheck({
checkboxClass: 'icheckbox_square-blue',
radioClass: 'iradio_square-blue'
});
Icheck
定義されている[名= "masdoc-school"]を実行してコントローラの$ scope.schools [selected index]の値を取得します。皆さんありがとう!