Closed eklem closed 9 years ago
In the controller.js there is a little function to define some HTML string as safe. How do I get to use it in my template search-list.html?
I have a teaser field that I want to render.
Ok, figured it out:
<blockquote ng-bind-html="trustworthy(item.document.teaser)"></blockquote>
Goody! :)
In the controller.js there is a little function to define some HTML string as safe. How do I get to use it in my template search-list.html?
I have a teaser field that I want to render.