SyntaxFix
Write A Post
Hire A Developer
Questions
if you want use with expression, the rigth way is :
<span class="ng-style: yourCondition && {color:'red'};">Sample Text</span>
but the best way is using ng-class