AngularJS implementation errors when called from Angular UI.Boostrap $dialog #2258
Description
I am working on implementing the AngularJS code within a $dialog box using the $dialog bootstrap directive found: http://angular-ui.github.io/bootstrap/#/dialog
Everything is working as expected, modal comes up fine, files upload fine, etc... The issue is that when the modal is closed, 3 errors come up and then anytime the modal is opened or closed after that they continue to show on console.
They are:
cannot call methods on fileupload prior to initialization; attempted to call method 'processing'
cannot call methods on fileupload prior to initialization; attempted to call method 'active'
cannot call methods on fileupload prior to initialization; attempted to call method 'progress'
Here's a plnkr of the problem I am seeing: http://plnkr.co/edit/vQUpJGBPGNNKsU91qIG3