window.angular && (function(angular) {
'use strict';
const template = `
`
const controller = function() {
this.onUpload = () => {
this.uploadFile({file: this.file});
};
};
angular.module('app.common.components').component('fileUpload', {
template,
controller,
bindings: {uploadFile: '&', fileType: '@', fileStatus: '@'}
})
})(window.angular);