Skip to content

jl-/ng-img-thumb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

img-thumb

angular directive, input[file] image local preview

Installation

bower install ng-img-thumb --save

Usage

<body>
    <input type="file" id="select-file" ng-model='appCtrl.file'>
    <img-thumb file="appCtrl.file"></img-thumb>
    <script src="bower_components/ng-img-thumb/img-thumb.js"></script>
    <script>
    angular.module('app',['ngImgThumb'])
        .controller('AppCtrl',['$scope',function($scope){
            var scope = this;
        }]);
    </script>
    
</body>

About

angular input file img preview

Resources

License

Stars

Watchers

Forks

Packages

No packages published