create Angular directive for Packery and Draggabilly libraries