I have a div with an after and I would like to change the background color of this after dynamically via controller, however I am not succeeding when importing ng-class into the parent div.
<div class="infos" ng-class="myController.infoBlue">
My Infos.
:after
</div>
Note: I have different styles in div and o: after. The div has a background of one color and my after has a background of another color and I want to change only the after.