Is it possible to load an image via ajax, meaning to get the contents of the image via ajax and display it as an actual image? I understand how to handle the second part but
- how do you store the ajax data/blob in a variable?
- how can you initiate an ajax call in a directive?
I'm looking to access the real content of the image rather than just the src/url. This is needed in order to bypass the CSP restriction of Chrome apps.