ng-file-upload –Lightweight Angular Directive to Upload Files

April 03, 2016     1179     Angular UI
ng-file-upload –Lightweight Angular Directive to Upload Files

ng-file-upload is a lightweight Angular directive to upload files with optional FileAPI shim for cross browser support.

  • file upload progress, cancel/abort
  • file drag and drop (html5 only)
  • image paste form clipboard and drag and drop from browser pages (html5 only).
  • image resize and center crop (native) and user controlled crop through ngImgCrop. See crop sample (html5 only)
  • orientation fix for jpeg image files with exif orientation data
  • resumable uploads: pause/resume upload (html5 only)
  • native validation support for file type/size, image width/height/aspect ratio, video/audio duration, and ng-required with pluggable custom sync or async validations.
  • show thumbnail or preview of selected images/audio/videos
  • supports CORS and direct upload of file's binary data using Upload.$http()
  • plenty of sample server side code, available on nuget
  • on demand flash FileAPI shim loading no extra load for html5 browsers.
  • HTML5 FileReader.readAsDataURL shim for IE8-9

Related Posts

Latest Posts

Subscribe to Newsletter

Subscribe to email newsletter for latest posts, articles & tutorials.