Reciving images from RestFull server


Hi everyone,

I’m not sure if this question should be better in a cordova or Angular Forum, but I hope someone here could help me.

I’m trying to create a social network app with Ionic. I’m using node as a RestFull derver to serve all data the app needs, but i’m lost with how to transmit images between the app and the server.
I want to ask you how to recive images from the server and then, show them as friends profile images for example.
Now i’m sending data using JSON, I don’t know if that’s the way to recive images .

I’ll really appreciate you’re help.



You just use plain old image tags. If the image is dynamic, then use ng-src instead of src.

<img ng-src="let_angular_put_a_url_here" alt="Some Great Image/>