Search code examples
angularjsjquery-file-upload

How to change dynamically the upload (jquery-file-upload) url using $scope?


I'm using the jquery-file-upload how describes http://css.dzone.com/articles/angularjs-file-upload but aditionally I need to send a parameter via query string, so I need to change that parameter according to a select option change, which value is in $scope.

So how can I to achieve this? thanks in advance.


Solution

  • I found a solution using the 'data' parameter in a event of the jquery file upload, in https://github.com/blueimp/jQuery-File-Upload/issues/355