Need help with angular-file-upload?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

nervgh
3.5K Stars 1.2K Forks MIT License 294 Commits 247 Opened issues

Description

[ALMOST NOT MAINTAINED] Angular File Upload is a module for the AngularJS framework

Services available

!
?

Need anything else?

Contributors list

# 50,939
JavaScr...
HTML
54 commits
# 137,990
xmpp
HTML
Shell
express...
7 commits
# 78,703
Vue.js
vue-com...
CSS
iview
5 commits
# 43,485
OpenCV
C++
semver
semanti...
4 commits
# 10,212
ini
framewo...
Webpack
Markdow...
4 commits
# 50,512
XML
java-ap...
Courser...
mocking...
3 commits
# 56,385
HTML
TypeScr...
3 commits
# 197,641
JavaScr...
3 commits
# 197,449
JavaScr...
3 commits
# 180,109
Kotlin
Android
Scala
sbt-plu...
3 commits
# 113,001
Erlang
Shell
PHP
product...
2 commits
# 229,118
JavaScr...
2 commits
# 77,918
forensi...
digital...
solidit...
analysi...
2 commits
# 3,735
Bootstr...
codeign...
css3-an...
Gulp
1 commit
# 88,905
Bootstr...
Angular
bootstr...
Redis
1 commit
# 32,701
scalewa...
Erlang
SQLite
mariadb
1 commit
# 287,503
JavaScr...
1 commit
# 58,612
PHP
wsdl
Objecti...
React N...
1 commit
# 287,426
JavaScr...
1 commit
# 4,995
JavaScr...
CSS
tinymce
vue-cli
1 commit

Angular File Upload

  • compatible with AngularJS v1.x

About

Angular File Upload is a module for the AngularJS framework. Supports drag-n-drop upload, upload progress, validation filters and a file upload queue. It supports native HTML5 uploads, but degrades to a legacy iframe upload method for older browsers. Works with any server side platform which supports standard HTML form uploads.

When files are selected or dropped into the component, one or more filters are applied. Files which pass all filters are added to the queue. When file is added to the queue, for him is created instance of

{FileItem}
and uploader options are copied into this object. After, items in the queue (FileItems) are ready for uploading.

Package managers

NPM npm

npm install angular-file-upload

You could find this module in npm like angular file upload.

Yarn npm

yarn add --exact angular-file-upload

You could find this module in yarn like angular file upload.

Module Dependency

Add

'angularFileUpload'
to your module declaration:
var app = angular.module('my-app', [
    'angularFileUpload'
]);

Demos

  1. Simple example
  2. Uploads only images (with canvas preview)
  3. Without bootstrap example

More Info

  1. Introduction
  2. Module API
  3. FAQ
  4. Migrate from 0.x.x to 1.x.x
  5. RubyGem

Browser compatibility

This module uses the feature detection pattern for adaptation its behaviour: fd1, fd2.

You could check out features of target browsers using http://caniuse.com/. For example, the File API feature.

| Feature/Browser | IE 8-9 | IE10+ | Firefox 28+ | Chrome 38+ | Safari 6+ | |----------|:---:|:---:|:---:|:---:|:---:| |

 | + | + | + | + | + |
| 
 | - | + | + | + | + |
| Drag-n-drop | - | + | + | + | + |
| Iframe transport (only for old browsers) | + | + | + | + | + |
| XHR transport (multipart,binary) | - | + | + | + | + |
| An image preview via Canvas (not built-in) | - | + | + | + | + |
| AJAX headers | - | + | + | + | + |

How to ask a question

A right way to ask a question

If you have a question, please, follow next steps: - Try to find an answer to your question using search - If you have not found an answer, create new issue on issue-tracker

Why email a question is a bad way?

When you emal me a question: - You lose an opportunity to get an answer from other team members or users (devs) - It requires from me to answer on same questions again and again - It is not a rational way. For example, if everybody who use code of this project will have emailed me a question then I will be receiving ~700 emails each day =) - It is a very slow way. I have not time for it.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.