I have an array of objects over which I do orderby:"Attribute A" ,iterate over it using ng-Repeat and set ng-checked="$index === 0 ? true : false".
Now on same data on click Attribute B U do orderby : "Attribute B" and on click on C, orderby : "Attribute C",and iterate same as above and set ng-checked="$index === 0 ? true : false".
First radio button selection shows random behavior.
Any solution or suggestion for this?
Iterating on this :
<input type="radio" ng-model="$parent.sel_id" value="{{obj.uniq_id}}" ng-change="abc()" ng-checked="$index === 0 ? true : false" name="users" class="col-6" id="{{obj.uniq_id}}" >