I get 3 values ββfrom the backend: isDone, isInProgress, isFailed and based on these 3 values, I need to change the hover over the text of the span element in angularview. if the element isDone or isInProgress, I have to show a single icon with 2 different hover texts. if the element isFailed, I should show an error message on the screen:
Code:
<span class="glyphicon glyphicon-refresh blue" title="In progress" ng-show="action.isInProgress"> </span>
How to include IsDone in this range?
source share