I need help parsing HTML that is received from the server as a string. Here is an example of what I receive:
<img src="http://gravatar.com/avatar/9a52267d32ad2aaa4a8c2c45b83396e5?d=mm&s=&r=G" class=" user-1-avatar avatar- photo" width="" height="" alt="Avatar Image" />
This HTML snippet comes in as part of an object property like so:
{admin: {avatar "<img src="http://gravatar.com/avatar/9a52267d32ad2aaa4a8c2c45b83396e5?d=mm&s=&r=G" class=" user-1-avatar avatar- photo" width="" height="" alt="Avatar Image" />"}
}
I have tried using ng-bind-html with no success. Can anyone suggest an alternative solution?