code mirror on blur updated to include $scope.digest