anchor.diff:          (data, headers) -> $scope.saveQuestionSuccess(data, headers),
           (result, headers) -> $scope.saveQuestionFailure(result, headers)
         )
  +    $scope.edit_question = null
   
     $scope.cancelQuestion = ->
       $scope.$broadcast('CANCEL_QUESTION')
  
positive.code: 
    $scope.repositionQuestion = (question) ->
      question.project_id = $scope.project_id
      question.$update({},
        () ->
          $scope.questions = $scope.questions.filter (q) -> q isnt question
          if $scope.questionOnPage(question)
            $scope.questions.splice(question.number_in_instrument - 1, 0, question)
            $scope.updateQuestionNumbers()
      )
  
    $scope.updateQuestionNumbers = ->
      offset = ($scope.current_page - 1) * $scope.questions_per_page
  
negative.code:       question.$delete({},
          (data) ->
            question.id = null
          ,
          (data) ->
            alert "Failed to delete question"
          )
        $scope.questions.splice($scope.questions.indexOf(question), 1)
        $scope.updateQuestionNumbers()
  
  
    $scope.uniqueId = ->
      new Date().getTime().toString(36).split("").reverse().join("")
  