I got a solution to use AngularJS directive to let html understand my tag bold as the html tag b. So <bold>{{testWorks}}</bold>
will style the text as bold when I have textWorks in the scope.
However, it doesn't work when I have {{testText}}
where in the scope it is: $scope.testText = "<bold>Peter</bold>";
It also doesn't work when I use ng-bind-html
to let the value to be evluated as html, you can find the code from Plunker
Could it be that the directive was applied before the evaluation of the expression?