JimLiu/Angular-NestedSortable — pull request #40 by ewoutkleinsmann (2014-02-27 17:16:35+00:00)
Title: itemClicked fix

First of all: awesome library! :) I made this PR, because itemCllicked wasn usable for my use case. Maybe it van be useful for someone else.

Commit message:
itemClicked is fired on mousedown instead of on click. Moreover, for a lot of use cases, ie. using the sortable as a navigation menu, it is desirable to be able to cancel the click callback when the item is dragged. This is implemented with a flag provided to the itemClicked callback.