Converted draggable items to directive