Is it achievable to modify only one out of multiple classes assigned to an element without affecting the others?
Illustration:
<span ng-class="{'result warning' : error, 'result passing' : !error}"></span>
In this code snippet, I am required to include the result class in both conditions. Is there a solution to avoid this repetition?
Appreciate any insights!