1.0.0 • Published 6 years ago
ng-files v1.0.0
ng-file-input
A great library for handling files for AngularJS 1.x.
It uses ng-model api for handling file inputs. This library includes a directive for file inputs using any clickable element, but if you want to handle file inputs manually it also provides $files factory for choosing files manually.
Just forget the old traditional <input type="file"> method for choosing files.
Dependencies:
Usage:
Add dependency:
Using Factory:
Using Directive:
Single File
Multiple Files
Note: The multiple and accept attribute are watched for changes, so you can use any scope variable there.
1.0.0
6 years ago