portainer/app/agent/components/file-uploader/index.js

11 lines
295 B
JavaScript

import angular from 'angular';
import { FileUploaderController } from './fileUploaderController';
angular.module('portainer.agent').component('fileUploader', {
templateUrl: './fileUploader.html',
controller: FileUploaderController,
bindings: {
uploadFile: '<onFileSelected',
},
});