Hi!! I found out that the $stateParams don't get synchronized with the views while using $ionicHistory (cached views).
Specifically, in the line file 302 of file https://github.com/moodlehq/moodlemobile2/blob/master/www/core/components/fileuploader/services/helper.js the var upload is always undefined because doesn't get the correct $stateParams.
Fortunatelly, I discovered this fix, but I don't know how to insert it in the app:
Anyone can help?