You want to use ng-bind-html and ng-bind-html-unsafe for that kind of purpose.
ng-bind-html
ng-bind-html-unsafe
The examples are shown here
1.4m articles
1.4m replys
5 comments
57.0k users