An open API service indexing awesome lists of open source software.

https://github.com/gbevan/upload

fork of https://git.mean.io/orit/upload.git
https://github.com/gbevan/upload

Last synced: 8 months ago
JSON representation

fork of https://git.mean.io/orit/upload.git

Awesome Lists containing this project

README

          

Mean-upload lets you upload multiple files to your mean.io based app and use them.
The package provides a directive called mean-upload which renders the file picker.

### Installation
In the root of your meanio site, run:
```
mean install upload
```

#### gbevan fork
```
mkdir packages/contrib
cd packages/contrib
git clone https://github.com/gbevan/upload.git
cd upload
npm install
```

### Callbacks
The package provides two callbacks:
- uploadFileCallback: Fires when each file is successfuly uploaded
- uploadFinished: Fires once All of the files have been uploaded.

### Usage
To use it just integrate the folowing directive in to your angular view...

```HTML




```

### Directive attributes
file-dest = Default destination on server to upload the files to
upload-callback = Default name of all files uploaded callback
upload-file-callback = Default name for each file upload completion