$scope.content = "<b>bold</b> text";
- With
<div>{{content}}</div>
will output text content
<b>bold</b> text
- But with
<div ng-bind-html="content"></div>
will output html content
bold text
$scope.content = "<b>bold</b> text";
<div>{{content}}</div>
will output text content
<b>bold</b> text
<div ng-bind-html="content"></div>
will output html content
bold text