Final implementation of file detail.

Rewrite loading image into angular directive.
Fixes on server-side uploader.