I've tried using the ```$sanitize``` service, but it does not do exactly the encoding I want to display here.
For example, I've the following string: ```"value": "Class<a> //New template class"``` (searching for a C-like template in an annotation text)
Let's run the $sanitize service for it, the result is:
```"value": "Class<a> //New template class"</a>```
instead of:
```"value": "Class&lt;a&gt; //New template class"```
So what I really need is the ```escapeHTML```  filter, isn't it?