anchor.diff:  			workflow: workflow
   		});
   		viewModel.workflowChainOfEditedDirectWorkflow = workflow.workflowChain(viewModel.workflows);
  -		editedWorkflow = workflow;
  +		$scope.editedWorkflow = workflow;
   		viewModel.editedWorkflowIndex = 0;
   
   		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) {
  