Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

ng-bind-html-unsafe has been removed in the latest release candidates, it won't be in 1.2

So try not to get attached.



Just use 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.


Iterating over a collection in the controller and manually calling that on each element as needed is a huge pain.

Does it work in filters?


Yeah, I mentioned it in comment under the post.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: