There are a lot of ways to present a html in angular.
fi use $sce.trustAsHtml(myHtmlVariable)
However, what i want to create is a such a thing:
myStringVariable = someFunction(myHtmlVariable)
Then i will be able to do some operations on my string, without html elements and attributes but just with texts. Is there such a function?