code: function(event) {
          if (event.preventDefault) {
            event.preventDefault();
          }
          if (event.stopPropagation) {
            event.stopPropagation();
          }
          var dropOffset = jQuery(dropZone).offset();
          var dragData = angular.copy(scope.formBuilderDraggable);
          dragData.fbDropX = event.pageX - dropOffset.left;
          dragData.fbDropY = event.pageY - dropOffset.top;
          angular.element(dropZone).scope().$emit('fbDragDrop', dragData);
          dragEnd();
          return false;
        }
docs: Drag drop event handler.