anchor.diff:  			viewModel.editedDirectWorkflow = viewModel.directWorkflowChain[directWorkflowIndex];
   			viewModel.editedDirectWorkflowIndex = directWorkflowIndex;
   			viewModel.workflowChainOfEditedDirectWorkflow = viewModel.editedDirectWorkflow.workflowChain(viewModel.workflows);
  -			editedWorkflow = viewModel.workflowChainsOfDirectWorkflowChain[directWorkflowIndex][workflowIndex];
  +			$scope.editedWorkflow = viewModel.workflowChainsOfDirectWorkflowChain[directWorkflowIndex][workflowIndex];
   			viewModel.editedWorkflowIndex = workflowIndex;
   		}
   
  -		$rootScope.$emit("AddStepController::showAddStepPopupWithInsertIndex", editedWorkflow.steps.length);
  +		$rootScope.$emit("AddStepController::showAddStepPopupWithInsertIndex", $scope.editedWorkflow.steps.length);
   	};
   
   	$scope.$on("$destroy", $rootScope.$on("AddStepController::addStepAtIndex", function(event, step, index) {
  -		if (!editedWorkflow.steps) {
  -			editedWorkflow.steps = [];
  +		if (!$scope.editedWorkflow.steps) {
  +			$scope.editedWorkflow.steps = [];
   		}
   
   		var addedStep = angular.copy(step);
  -		editedWorkflow.steps.splice(index, 0, addedStep);
  +		addedStep.userStepConfig = {};
  +		$scope.editedWorkflow.steps.splice(index, 0, addedStep);
   
   		viewModel.stepSelected(addedStep);
   	}));
   
   	viewModel.cloneStepSelected = function() {
   		var clonedStep = angular.copy(viewModel.selectedStep);
  -		var index = _.indexOf(editedWorkflow.steps, viewModel.selectedStep);
  -		editedWorkflow.steps.splice(index + 1, 0, clonedStep);
  +		var index = _.indexOf($scope.editedWorkflow.steps, viewModel.selectedStep);
  +		$scope.editedWorkflow.steps.splice(index + 1, 0, clonedStep);
   
   		viewModel.stepSelected(clonedStep);
   	};
   
   	viewModel.deleteStepSelected = function() {
  -		var index = _.indexOf(editedWorkflow.steps, viewModel.selectedStep);
  -		editedWorkflow.steps.splice(index, 1);
  +		var index = _.indexOf($scope.editedWorkflow.steps, viewModel.selectedStep);
  +		$scope.editedWorkflow.steps.splice(index, 1);
   
   		viewModel.stepSelected(null);
   	};
  
positive.code: 			viewModel.editedDirectWorkflow = viewModel.directWorkflowChain[directWorkflowIndexToEdit];
  			viewModel.editedDirectWorkflowIndex = directWorkflowIndexToEdit;
  			viewModel.workflowChainOfEditedDirectWorkflow = viewModel.editedDirectWorkflow.workflowChain(viewModel.workflows);
  			editedWorkflow = viewModel.workflowChainsOfDirectWorkflowChain[directWorkflowIndexToEdit][workflowIndexToEdit];
  			viewModel.editedWorkflowIndex = workflowIndexToEdit;
  		}
  
  
negative.code: 	};
  
  	viewModel.addStepSelectedBeforeStep = function(step) {
  		$rootScope.$emit("AddStepController::showAddStepPopupWithInsertIndex", _.indexOf($scope.editedWorkflow.steps, step));
  	};
  
  	viewModel.addStepSelectedAtEnd = function(directWorkflowIndex, workflowIndex) {
  