grailian / angular-file-dnd

Angular directive for drag and drop file uploads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angular-file-dnd

A reusable AngularJS directive leveraging HTML5 Drag and Drop and the FileReader API

Installing The Module

Install via bower by executing the command bower install angular-file-dnd

Using The Directive

  1. Include the file in your view <script src="components/angular-file-dnd/dist/angular-file-dnd.min.js"></script>
  2. Add a dependency to 'omr.angularFileDnD' to your angular app.js file
  3. Use as documented here

About

Angular directive for drag and drop file uploads


Languages

Language:JavaScript 62.6%Language:CoffeeScript 37.4%