{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/416","labels_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/416/comments","events_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/416/events","html_url":"https://github.com/angular-ui/ui-sortable/issues/416","id":121043563,"number":416,"title":"Bug with track by $index in nested connected list","user":{"login":"preethi29","id":5102045,"avatar_url":"https://avatars.githubusercontent.com/u/5102045?v=3","gravatar_id":"","url":"https://api.github.com/users/preethi29","html_url":"https://github.com/preethi29","followers_url":"https://api.github.com/users/preethi29/followers","following_url":"https://api.github.com/users/preethi29/following{/other_user}","gists_url":"https://api.github.com/users/preethi29/gists{/gist_id}","starred_url":"https://api.github.com/users/preethi29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preethi29/subscriptions","organizations_url":"https://api.github.com/users/preethi29/orgs","repos_url":"https://api.github.com/users/preethi29/repos","events_url":"https://api.github.com/users/preethi29/events{/privacy}","received_events_url":"https://api.github.com/users/preethi29/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-sortable/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-08T16:23:38Z","updated_at":"2015-12-10T06:14:39Z","closed_at":null,"body":"When ng-repeat is tracked by $index,  moving an element from parent to child list  causes a issue:\r\n**Uncaught Error: cannot call methods on sortable prior to initialization; attempted to call method 'option'**\r\n\r\nIssue is reproducible with the tree example provided in README when I moved Item 1 into Item 2 list:\r\n\r\nhttp://codepen.io/anon/pen/mVyGVv\r\n\r\nPleas help asap."},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/comments/163511654","html_url":"https://github.com/angular-ui/ui-sortable/issues/416#issuecomment-163511654","issue_url":"https://api.github.com/repos/angular-ui/ui-sortable/issues/416","id":163511654,"user":{"login":"thgreasi","id":1295829,"avatar_url":"https://avatars.githubusercontent.com/u/1295829?v=3","gravatar_id":"","url":"https://api.github.com/users/thgreasi","html_url":"https://github.com/thgreasi","followers_url":"https://api.github.com/users/thgreasi/followers","following_url":"https://api.github.com/users/thgreasi/following{/other_user}","gists_url":"https://api.github.com/users/thgreasi/gists{/gist_id}","starred_url":"https://api.github.com/users/thgreasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thgreasi/subscriptions","organizations_url":"https://api.github.com/users/thgreasi/orgs","repos_url":"https://api.github.com/users/thgreasi/repos","events_url":"https://api.github.com/users/thgreasi/events{/privacy}","received_events_url":"https://api.github.com/users/thgreasi/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T06:14:39Z","updated_at":"2015-12-10T06:14:39Z","body":"Did you find out a working solution for your use case?\nI'm closing this for know, since\n* a working example exists\n* this has already been tracked on other issues\n* I don't think that this is the right place to discuss about the inner workings of ng-repeat"}}