changes to work with current angular-file-upload version

Since the angular-file-uploader module has been updated with breaking changes. I realised the example link doesn't work anymore. I made some changes to hopefully get it to work with the new angular-file uploader version.