I am using the ng-file-upload (https://github.com/danialfarid/ng-file-upload)
However, if I put the upload control into a directive and then display it in a modal, the upload does not work. I get this error:
TypeError: this.Upload.upload is not a function
Has anyone got it working in a modal dialog.
The modal is from angular.ui.bootstrap
Thanks