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.
2 people use it
Author: 5210230?v=3 itslenny

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.

Installation

Dependencies: Angular

Download and include angular-bootstrap-file-field.min.js

Create an angular app and inject bootstrap.fileField. That's about it.

bower

bower install angular-bootstrap-file-field

Usage

For usage details see the github repo

Styling

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

comments powered by Disqus
This page was last updated over 2 years ago.