Currently, I am facing an issue where I need to deactivate a div element but I am struggling to find a solution.
<div ng-repeat="item in items">
<div ng-click="somefunction()">{{some value}}</div>
</div>
JavaScript:
$scope.items = [1,2,3,4,5];
My goal is to disable all div elements that have an even value.