I'm able to unescape the string that has some markup in it using ngSanitize and in HTML I use
<span ng-bind-html="myHTML"></span>
I've created a filter
.filter('safe', function($sce) {
return function(val) {
return $sce.trustAsHtml(val);
};
})
I wonder if I can do something like this instead?
<span>{{ myHTML | safe }}</span>
Right now it does not really work and I'm trying to see what I'm missing.