Do not handle local data as a remote data.

- When set Data URL to the ng-src, it is trying to get the retina image.
  Since this is a local image, Chrome is complaining about CORS.

This patch is checking if the image is a local image, using a Regex and if
the regex match, it is handling the image as a normal image, instead of retina's
image.