I want to show a repeated list, and render each element with ngSanitize as follows:
<div ng-repeat="todo in todos" ng-bind-html="todo.text"/>
I get no error in the console, but I also don't get any output. Why?
By the way: the following does actually work, but unformatted markup:
<div ng-repeat="todo in todos">{{todo.text}}</div>
todosand nottotos? Also, close the quotes on yourng-repeat.ng-bind-htmland not justng-bind?textcontains html markup elements like<strong>test text</strong>. docs.angularjs.org/api/ng/directive/ngBindHtml