1

I am making a http request that returns a url to an image. I would like to display the image in my html page. Is there a way to do this? I idea of what I want to do is (this doesn't work but..) img src={{result.imageurl}}

Wes
  • 115
  • 1
  • 4
  • 8

1 Answers1

9

Yes, you have to use ng-src="{{result.imageurl}}"

See http://docs.angularjs.org/api/ng.directive:ngSrc

NicolasMoise
  • 7,261
  • 10
  • 44
  • 65