Angular Directive to preview image file