I\'m searching into my database a image as a byte array. I want to show this content as file using the markup image, but it doesn\'t work here.
// C
Use ng-src in the following format
ng-src
Don't forget to add a sanitization filter for data to not be marked as unsafe by angular:
data
unsafe
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|file|ftp|blob):|data:image\//);