I work in Ionic 2 and I want to display a picture with variable, somethink like this :
<img src="data:{{user.file.type}};base64,{{user.file.content}}"/>
But the picture isn't display on my bowser and I have this error in the chrome console : "WARNING: sanitizing unsafe URL value"
Howerver, when I put my file type and file content in hard code it's work. But I need to use variable.
Any idea ? :)