I am listing some images with ng-repeat, and want to apply a pseudo class with some content after it.
Here is my fiddle: https://jsfiddle.net/Noitidart/y7dxa6n8/11/
And here is the code:
<style>
body {background-color:steelblue;}
img::after { content: 'rawr'; size:100px; color:red; }
</style>
<div ng-app="myApp">
<div ng-controller="MyController as mc">
<img ng-repeat="aSrc in mc.arr" ng-src="{{aSrc}}"/>
</div>
</div>
Controller:
var myApp = angular.module('myApp', ['ngCookies']);
myApp.controller('MyController', [function($cookie) {
this.arr = ['https://jsfiddle.net/img/logo.png']
}]);
However the pseudo class wont work. This is very odd.