I am trying to store a HTML inside a scope variable and then use it in template view. When I was reading how to do this in angular, I came across ng-bind-html.
ng-bind-html
Angular selectively sanitizes certain HTML tags with ng-bind-html
so if you want all the tags you should use ng-bind-html-unsafe instead
but watch out of XSS attacks !
It's far better to follow the @Ed Hinchliffe piece of advice