ng-bind-html angular 7 code example
Example 1: embed string html angular
<div [innerHTML]="comment"></div>
Example 2: ng-bind-html vuejs
<div v-html="html"></div>
<!-- same as -->
<div>{{{ html }}}</div>
<div [innerHTML]="comment"></div>
<div v-html="html"></div>
<!-- same as -->
<div>{{{ html }}}</div>