Dummy implementation for reading image over http.
Upgrade to angular-ui bootstrap 0.6.
So rewrite code for use new $modal