Skip to content

Commit 7de1898

Browse files
committed
2 parents 36541a0 + 63c4669 commit 7de1898

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Lightweight Angular JS directive to upload files. Features:
99
* Uses regular `$http` to upload (with shim for non-HTML5 browsers) so all angular `$http` features are available
1010
* Supports upload progress
1111
* Supports cancel/abort upload while in progress
12-
* Supports File drag and drop
12+
* Supports File drag and drop (HTML5 only)
13+
* Supports Directory drag and drop (webkit only)
1314
* 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)
1415
* Flash FileAPI will be loaded on demand for non-HTML5 FormData browsers so no extra load for HTML5 browsers.
1516
* `$upload` method can be configured to be either `POST` or `PUT` for HTML5 browsers.
@@ -119,6 +120,13 @@ Download latest release from [here](https://github.com/danialfarid/angular-file-
119120
bower install ng-file-upload
120121
```
121122

123+
Make sure you to load the scripts in this order as described in the Usage:
124+
```
125+
<script src="angular-file-upload-shim(.min).js"></script>
126+
<script src="angular(.min).js"></script>
127+
<script src="angular-file-upload(.min).js"></script>
128+
```
129+
122130
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).
123131

124132
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).

0 commit comments

Comments
 (0)