 
     #Setting csLog
     csLog.set($scope, "csWizard")
+    #csLog.enable($scope)
 
     $scope.loading = true
     $scope.errors = []


# ===== DIRECTIVE =============================================================

app.directive "csWizard", ['$rootScope', 'ResourceService', '$document', 'csDescriptorService', 'csLog', ($rootScope, ResourceService, $document, csDescriptorService, csLog) ->


  # ===== COMPILE =============================================================


          $scope.csWizardOptions.events = {
            'wizard-canceled' : wizardCanceled
            'wizard-submited' : wizardSubmitted
          }
          $scope.setOptions(resource, item, formMode, wizardMaxDepth)
          $scope.finish()
