I have a angular array of 5 elements.
$scope.details; and $scope.details have these following elements [id, name, points].
and now using loop I have added a new element to this $scope.details for every element.
for(var i = 0; i < $scope.details.length; i++){ $scope.details[i].check = 'f'; } So, the elements are [id, name, points, check];
Now, after performing the logic i need to remove the check from all 5 elements of $scope.details.