Add ng-drag-constrain="top - OR - left"
$drag.getDragByElement().