Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wmil
on Nov 6, 2013
|
parent
|
context
|
favorite
| on:
Little-known directives of Angular.js
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.
welder
on Nov 6, 2013
|
next
[–]
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.
wmil
on Nov 6, 2013
|
parent
|
next
[–]
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?
sheerun
on Nov 6, 2013
|
prev
[–]
Yeah, I mentioned it in comment under the post.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So try not to get attached.