I have checkbox inside the ng-repeat I want check whether checkbox is checked or not using their index value
html
<div ng-repeat="Name in Names">
<input type="checkbox"
ng-change="checkchange(Name .MaterialStream, $index)"
ng-model="Name.MaterialStream" />
</div>
controller
$scope.checkchange=function(index){
$scope.Names[index].active='true';
}
Now I get correct value when I check the checkbox. I have to get active value is true but I have check means active should be change into false in my case it's true here I attached my code help how to do this.