Skip to content

Commit 380a33b

Browse files
authored
Merge pull request #656 from jossef/patch-1
adding module dependency
2 parents 3bcb41d + 19e5eeb commit 380a33b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ npm install angular-file-upload
2121
```
2222
You could find this module in npm like [_angular file upload_](https://www.npmjs.com/search?q=angular%20file%20upload).
2323

24+
### Module Dependency
25+
26+
Add `'angularFileUpload'` to your module declaration:
27+
28+
```
29+
var app = angular.module('my-app', [
30+
'angularFileUpload'
31+
]);
32+
```
33+
2434
## Demos
2535
1. [Simple example](http://nervgh.github.io/pages/angular-file-upload/examples/simple)
2636
2. [Uploads only images (with canvas preview)](http://nervgh.github.io/pages/angular-file-upload/examples/image-preview)

0 commit comments

Comments
 (0)