Skip to content

L42y/angular-plupload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. bower install --save L42y/angular-plupload
  2. including script file provided by plupload component into your application
  3. including angular-plupload.js script file provided by this component into your application
  4. add l42y.plupload as a module dependency to your application

Usage

angular.module('App', [
    'l42y.plupload'
]).controller('UploadCtrl', function (
) {
    this.options = {
        'url': 'https://up.qbox.me:443',
        'flash_swf_url': '/bower_components/plupload/js/Moxie.swf',
        init: {
            FileAdded: function () {
            },
            Error: function () {
            }
        }
    }
})
<div plupload plupload-options="upload.options" plupload-drop-element ng-controller="UploadCtrl as upload">
    <button plupload-browse-button>Upload</button>
</div>

License

WTFPL

About

Plupload as an AngularJS component

Resources

Stars

Watchers

Forks

Packages

No packages published