I'm struggling to find the best approach to handle this situation.
This is how my AngularJS code looks:
<span class="something" ng-hide="onsomecondition">
{{value}}
</span>
.something{ text-align:left; padding:10px;}
Issue: The value in my DOM gets updated, but it's not displaying correctly on the screen.
If I remove the class attribute, everything works fine, but then I lose my styles. Is there a way to ensure that both the style and value are updated correctly?
Thanks in advance for any advice!