Use angular.noop instead of null as callback when undefined

To avoid errors after upload if no callback is given