use angular directive to implement draggable div