Stop dragging when the menu item is dragged ouside the body element
Replaced document with the AngularJS $window.document variant
Remove unused parameter
Improved code style
New build