add draggable attribute from draggable directive