So I have the following div and what I'd like to do, is have the div render HTML if it exists inside {{statusUpdate.text}}
.
What I've done, is wrap the usernames in the span you see below - but I'd like it to be rendered as actualy HTML, today it's just the HTML in plain text.
<div ng-repeat="statusUpdate in statusUpdates | orderBy:'-time'">
<div class="actContent">{{statusUpdate.text}}</div>
</div>
Currently I just get this as output - see below - and this is the output in the browser
<div class="actContent ng-binding">hello <span class='mentionedUserTag'>Aref Abedi</span> how are you?
</div>
Any ideas on how to solve this?