Skip to content

Commit cd40be3

Browse files
committed
Update README.md
1 parent c277b0e commit cd40be3

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,26 @@ Download latest release from [here](https://github.com/danialfarid/angular-file-
119119
#notice 'ng' at the beginning of the module name not 'angular'
120120
bower install ng-file-upload
121121
```
122-
123-
If you are using bower automatic include you can include bower component `ng-file-upload-shim` before `angular.js` and then `ng-file-upload` after.
124-
125-
Make sure to load the scripts in this order as described in the Usage:
126-
```
122+
Make sure to load the scripts in your html file exactly in this order as described in the Usage:
123+
```html
127124
<script src="angular-file-upload-shim(.min).js"></script>
128125
<script src="angular(.min).js"></script>
129126
<script src="angular-file-upload(.min).js"></script>
130127
```
131128

129+
For yeoman with bower automatic include:
130+
```
131+
bower install ng-file-upload -save
132+
bower install ng-file-upload-shim -save
133+
```
134+
bower.json
135+
```
136+
{
137+
"dependencies": [..., "ng-file-upload-shim", "angularjs", "ng-file-upload", ...],
138+
}
139+
```
140+
141+
132142
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).
133143

134144
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)