I'm looking to dynamically disable a div in AngularJS based on a certain condition. I know I can achieve this by adjusting the CSS (such as reducing contrast and color) but the div also has an ng-click property that I want to prevent from being triggered. How can I accomplish this?
Below is the code snippet I am working with:
<div ng-repeat="item in list.items" ng-click="goToFunction()" ng-disabled="true">