So I got a interesting question to which I haven't found a answer to.
Let's say I got a bunch of data coming from a JSON file like, but somehow one of the main fields looks like this
description : '<img src="http://o.aolcdn.com/hss/storage/midas/37c38989a5f26031be3e0ec5ffc5cd2/200012386/got-hbo-go-crash-2014-04-07-01_thumbnail.jpg"/> Viewing of the Game of Thrones season debut came to a crashing halt yesterday thanks to server problems with HBO Go. The cable outfit first reported the problem late yesterday via Twitter, and finally restored full service early this morning. That...'
How would I be able to get the src from that IMG while using ng-bind-html to bind the json data to the innerHTML on my page. ( using display:none; on the img itself so it would'nt display )
I have tried getElementsByTags and so on, but nothing returned a valid value.
Is there some kind of "angular" way to do it or... ?
BR's