backupApp.directive('smtpConfig', function (gettextCatalog) {
    return {
        restrict: 'E',
        scope: {
            config: '=config',
        },
        templateUrl: 'templates/settings/smtp-config.html?v=1.0.4.0',
        controller: function ($scope, $routeParams, AppService, AppUtils, BackupConnectionService, BackupService, SystemInfo, EditUriBackendConfig, DialogService) {
            const scope = $scope;
            console.log(scope.config)


            scope.$watch('config', () => {
                console.log(scope.config)
            })
        }
    }
});