addded support for drag and drop in AngularJS