Now image is shown while it's being uploaded.

Merged memes.html with index.html.
Fixed bug with changing scope (ng-if).

Used directive scope '=file' instead of $emit.