Angular Bootstrap File Field
A pure angular (no jquery) file field that functions like the native file input field but is displayed as a bootstrap button (also works without bootstrap see "styling" below) instead of the ugly system file upload field.
Adds support for
ng-model and image preview.
Actions speak louder than words: Check out THE DEMO.
Download and include angular-bootstrap-file-field.min.js
Create an angular app and inject
bootstrap.fileField. That's about it.
bower install angular-bootstrap-file-field
For usage details see the github repo
This directive creates a
<button> tag and gives it the class bootstrap class "btn" if no class or ng-class is specified.
For more details see the github repo