I have this iframe working with basic JavaScript:
<
try defining the function within controller as:
window.uploadDone=function(){ /* have access to $scope here*/ }