window.angular && (function(angular) { 'use strict'; const template = `
{{ $ctrl.file.name }}
` 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);