Directive that previews the file selected for a file input