Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danialfarid committed Mar 27, 2014
2 parents 36541a0 + 63c4669 commit 7de1898
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ Lightweight Angular JS directive to upload files. Features:
* Uses regular `$http` to upload (with shim for non-HTML5 browsers) so all angular `$http` features are available
* Supports upload progress
* Supports cancel/abort upload while in progress
* Supports File drag and drop
* Supports File drag and drop (HTML5 only)
* Supports Directory drag and drop (webkit only)
* All non-HTML5 code is in a separate shim file and could be easily removed if you only supports HTML5. (It is needed for progress event though)
* Flash FileAPI will be loaded on demand for non-HTML5 FormData browsers so no extra load for HTML5 browsers.
* `$upload` method can be configured to be either `POST` or `PUT` for HTML5 browsers.
Expand Down Expand Up @@ -119,6 +120,13 @@ Download latest release from [here](https://github.com/danialfarid/angular-file-
bower install ng-file-upload
```

Make sure you to load the scripts in this order as described in the Usage:
```
<script src="angular-file-upload-shim(.min).js"></script>
<script src="angular(.min).js"></script>
<script src="angular-file-upload(.min).js"></script>
```

You can find the sample server code in Java/GAE [here](https://github.com/danialfarid/angular-file-upload/blob/master/demo/src/com/df/angularfileupload/FileUpload.java).

If you use this module you can give it a thumbs up at [http://ngmodules.org/modules/angular-file-upload](http://ngmodules.org/modules/angular-file-upload).
Expand Down

0 comments on commit 7de1898

Please sign in to comment.