backupApp.directive('checkbox', function (gettextCatalog) {
    return {
        restrict: 'E',
        scope: {
            id: '=id',
            type: '=',
            model: '=',
            label: '=',
            value: '=',
            translateParameters: '='
        },
        templateUrl: 'templates/components/inputs/checkbox.html?v=1.0.3.1',
        controller: function ($scope, gettextCatalog) {

            $scope.text = gettextCatalog.getString($scope.label, $scope.translateParameters);
        }
    }
});