Reputation: 33625
Why is AngularJS not rendering one of my scope variables correct when it placed inside an <img src=
For example: this renders without any problems:
{{badge.image}}
outputs = /images/test.png
but this does not:
<img src='{{badge.image}}' />
outputs = %7B%7Bbadge.image%7D%7D
whats going on here?
Upvotes: 0
Views: 45