Fixed angular module when used into a custom directive.

Do not rely on the $$phase variable anymore.

Since fileUpload is created as a provider, the $timeout service has to be invoked via angular.injector.

Fix for this issue:
https://github.com/blueimp/jQuery-File-Upload/issues/2453