Create a directive and template for the draggable entity item.