{"action":"created","issue":{"url":"https://api.github.com/repos/wix/angular-tree-control/issues/71","labels_url":"https://api.github.com/repos/wix/angular-tree-control/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/wix/angular-tree-control/issues/71/comments","events_url":"https://api.github.com/repos/wix/angular-tree-control/issues/71/events","html_url":"https://github.com/wix/angular-tree-control/issues/71","id":48843645,"number":71,"title":"Drag & Drop","user":{"login":"alonsegal","id":4656213,"avatar_url":"https://avatars.githubusercontent.com/u/4656213?v=3","gravatar_id":"","url":"https://api.github.com/users/alonsegal","html_url":"https://github.com/alonsegal","followers_url":"https://api.github.com/users/alonsegal/followers","following_url":"https://api.github.com/users/alonsegal/following{/other_user}","gists_url":"https://api.github.com/users/alonsegal/gists{/gist_id}","starred_url":"https://api.github.com/users/alonsegal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alonsegal/subscriptions","organizations_url":"https://api.github.com/users/alonsegal/orgs","repos_url":"https://api.github.com/users/alonsegal/repos","events_url":"https://api.github.com/users/alonsegal/events{/privacy}","received_events_url":"https://api.github.com/users/alonsegal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-14T21:47:15Z","updated_at":"2015-05-19T17:58:22Z","closed_at":null,"body":"Hi,\r\nIs implementing drag&drop mechanism on the plan for the future?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/wix/angular-tree-control/issues/comments/103614633","html_url":"https://github.com/wix/angular-tree-control/issues/71#issuecomment-103614633","issue_url":"https://api.github.com/repos/wix/angular-tree-control/issues/71","id":103614633,"user":{"login":"lcanet","id":1287953,"avatar_url":"https://avatars.githubusercontent.com/u/1287953?v=3","gravatar_id":"","url":"https://api.github.com/users/lcanet","html_url":"https://github.com/lcanet","followers_url":"https://api.github.com/users/lcanet/followers","following_url":"https://api.github.com/users/lcanet/following{/other_user}","gists_url":"https://api.github.com/users/lcanet/gists{/gist_id}","starred_url":"https://api.github.com/users/lcanet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcanet/subscriptions","organizations_url":"https://api.github.com/users/lcanet/orgs","repos_url":"https://api.github.com/users/lcanet/repos","events_url":"https://api.github.com/users/lcanet/events{/privacy}","received_events_url":"https://api.github.com/users/lcanet/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T17:58:22Z","updated_at":"2015-05-19T17:58:22Z","body":"I wrote a [sample jsfiddle](http://jsfiddle.net/lcanet/dbqxj2hw/1/) using a custom directive to attach jquery ui draggable/droppable behaviors to node elements created by custom templates. \r\n\r\nUsing jquery ui is not mandatory, maybe you can stick to native DOM events. The position logic may not be necessary if you don't need reordering inside children\r\nSupports only a single root node (which is not droppable) and will probably mess up if you try to drop a node inside one of its descendant"}}