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
I would keep the stuff you insert in its own template and use ng-include (http://docs.angularjs.org/api/ng/directive/ngInclude).
Having a angular template (template.html) with the contents:
This is Something
You can include it with
This results in sth like