javascript - File Upload Preview in AngularJS -


how can implement file upload preview(http://opoloo.github.io/jquery_upload_preview/). using file upload. https://github.com/danialfarid/angular-file-upload

if add preview script, angular script not working in page.

here controller structure.

var app = angular.module('nomunoli.controllers', []);  app.controller('nmnl012ctrl', ['$scope', '$routeparams', 'nmnl012service', '$location',     function ($scope, $routeparams, nmnl012service, $location) {              var request = {'groupid': $routeparams.id};             $scope.group = nmnl012service.nmnl012fun14.query(request);             $scope.talentlist = nmnl012service.nmnl012fun01.query(request);          }]     ); 

this input div in page.

<div class="form-group col-md-12">     <div class="col-md-4">         <input id="talentupload" type="file" ng-file-select ng-model="talentfile" accept="image/*" />     </div> </div> 


Popular posts from this blog