Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 677 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 677 Bytes

angular-filepicker

Directive for filepicker.io

Getting Started

  1. Add filepicker script to your index.html file before

      <script type="text/javascript" src="//api.filepicker.io/v2/filepicker.js"></script>
  2. Add "filepicker" module to app.js html angular.module("App", ["filepicker"]);

  3. Use the following tag wherever you want to add filepicker.

<div filepicker api-key="your-api-key" path="/s3ServerPath/" pickerclass="btn btn-default" container="Mys3Bucket" multiple="true" mimetype="*" callback="callBackToExecuteAfterUpload(file)" multiple=false>Add Photo</div>