I\'m having a hard time trying to dynamically fill the \'content\'-value on a :before
pseudo-element.
I\'ve found out it was possible on earlier versions of Angular
Use: UPDATE You can also just drop the square brackets around This appears to be the convention in a number of examples I see. This works, I think, because you are already telling Angular to perform binding by specifying the name
like this: [attr.data-before]
, and it assumes the data on the right is coming from the corresponding component.