From 6270a403ecebde83d3685fee92f2046d605cce1c Mon Sep 17 00:00:00 2001 From: Jossef Harush Date: Thu, 21 Jul 2016 18:19:18 +0300 Subject: [PATCH 1/2] adding module dependency --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 8b6860e..9f196c1 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,16 @@ npm install angular-file-upload ``` You could find this module in npm like [_angular file upload_](https://www.npmjs.com/search?q=angular%20file%20upload). +### Module Dependency + +Add `'angular-file-upload'` to your module declaration: + +``` +var app = angular.module('my-app', [ + 'angular-file-upload' +]); +``` + ## Demos 1. [Simple example](http://nervgh.github.io/pages/angular-file-upload/examples/simple) 2. [Uploads only images (with canvas preview)](http://nervgh.github.io/pages/angular-file-upload/examples/image-preview) From 19e5eeb85e54d46ef2f4b17fc328b59ba5a3cccb Mon Sep 17 00:00:00 2001 From: Jossef Harush Date: Thu, 21 Jul 2016 18:27:12 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f196c1..1dc1022 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ You could find this module in npm like [_angular file upload_](https://www.npmjs ### Module Dependency -Add `'angular-file-upload'` to your module declaration: +Add `'angularFileUpload'` to your module declaration: ``` var app = angular.module('my-app', [ - 'angular-file-upload' + 'angularFileUpload' ]); ```