watg-angular-fileupload
v2.0.8
Published
angularjs file upload module for WATG
Downloads
5
Maintainers
Readme
watg-angular-fileupload
WATG auto-complete fileupload for angularjs web applications. A simple angularjs module/directive to upload files
Getting Started
bower install watg-angular-fileupload --save
Required Files
bower_components/watg-angular-fileupload/dist/js/watg-angular-fileupload.min.js
bower_components/watg-angular-fileupload/dist/js/watg-angular-fileupload.tpl.min.js
bower_components/watg-angular-fileupload/dist/css/watg-angular-fileupload.min.css
Inject module in your app
angular.module('myApp', ['...','watgFileuploadModule']);
Example
Step 1. Directive Set-up
<watg-fileupload config="watgFileuploadConfig"></watg-fileupload>
Step 2. Configuration
$scope.watgFileuploadConfig = {
Title: "Attachments",
Files: [],
MaxFileSize: "",
MaxImageHeight: "",
MaxImageWidth: "",
MinImageHeight: "",
MinImageWidth: "",
AllowedFileExtensions: "png,jpg"
};