text: (function () {
    'use strict';
  
    angular.module('BoliviaHubFrontend.theme')
        .directive('ngFileSelect', ngFileSelect);
  
    /** @ngInject */
    function ngFileSelect() {
      return {
        link: function ($scope, el) {
          el.bind('change', function (e) {
            $scope.file = (e.srcElement || e.target).files[0];
            $scope.getFile();
          })
        }
      }
    }
  
  })();