 
     resetChanges: ()->
       this.hasChanges = false
-      $scope.debouncedUpdate = null
+      this.debouncedUpdate = null
   }
 
->>>>>>> implement watchers to manage updates in grade edit controller using angular-debounce, working around fcsa-number to override internal blur actions in directive
 ]

    gradeId = gradeParams.id
    $scope.rawScoreUpdating = false
    $scope.hasChanges = false
    $scope.debouncedUpdate = null

    $scope.froalaOptions = {
      inlineMode: false,

    this.status = grade["status"]
    this.raw_score = grade["raw_score"]
    this.feedback = grade["feedback"]
    this.debouncedUpdate = null

  GradePrototype.prototype = {
    keydown: ()->
      this.resetChanges()
      this.startDebouncedUpdate()

    startDebouncedUpdate: ()->
      this.debouncedUpdate = lodash.debounce((->
        self = this
        $http.put("/grades/#{self.id}/async_update", self).success(
          (data,status)->
