4 ms·
Just use http://docs.angularjs.org/api/ng.$sce#methods_trustashtml http://docs.angularjs.org/api/ng.$sce#methods_trustashtml on your data then use ng-bind-html.
by welder 13y ago
Just use http://docs.angularjs.org/api/ng.$sce#methods_trustashtml http://docs.angularjs.org/api/ng.$sce#methods_trustashtml on your data then use ng-bind-html. It does the same as ng-bind-html-unsafe.
- wmil 13y agoIterating over a collection in the controller and manually calling that on each element as needed is a huge pain. Does it work in filters?