Hoping anyone could help...
I am sending an object value like
{"message": "< img src='aaaa' />"}
from my node API
to AngularJS
.
On my client side I wish to call only {{message}}
to display the rendered img
attribute. Unfortunately, it renders < img src= 'aaaa' />
.
I believe since the object value is a string, it renders the whole as a string -- < img src= 'aaaa' >
How to overcome the scenerio? Any help would be appreciated.