Added by: Igor C. de Paula
1- Add the script in public_html/js/ngUploadPreview.js on your html.
2- Add file-model='myFile' in your form
3- Add a canvas element with ID 'canvas'
4- In your controller inject the UploadSrv, and in uploadFileToUrl method put $scope.myFile, and url of server for upload.
See public_html/index.html for example.
Module stats last updated: 2015-05-08 03:12:30
Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!