Loading image src using a variable containing base64 data in AngularJS

The content of the ng-src needs to be interpolated: Try this:

<img data-ng-src="https://stackoverflow.com/questions/22018776/{{image.dataURL}}"/>

Leave a Comment