I am currently facing a challenge in my AngularJS project where I need to disable an icon within an ng-repeat scenario based on a condition. Specifically, I want to check if the owner is null and then disable the icon accordingly. However, despite verifying that {{item.owner == null}} evaluates to true, the icon remains enabled.
Upon further investigation, I realized that the issue lies with the code snippet below:
<tr ng-repeat="item in items">
<td style="color: gray;" title="chat">
<a ng-href="sip:{{item.Email}}" ng-disabled="{{item.owner == null}}">
<span class="glyphicon glyphicon-comment"></span>
</a>
</td>