I am trying to display a string in my model that represents the html of a particular character. Unfortunately, this does not show the actual character, and I do not know how to do it ...
This code is:
This output is:
Hello, Superhero & amp; Lt;! & Lt;
You can use:
& lt; Div ng-controller = "MyCtrl" ng-bind-html-unsafe = "Hello, '+ namea" & gt; & Lt; / Div & gt; Check out and
No comments:
Post a Comment