{"action":"created","issue":{"url":"https://api.github.com/repos/vitalets/checklist-model/issues/46","labels_url":"https://api.github.com/repos/vitalets/checklist-model/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/vitalets/checklist-model/issues/46/comments","events_url":"https://api.github.com/repos/vitalets/checklist-model/issues/46/events","html_url":"https://github.com/vitalets/checklist-model/issues/46","id":46307881,"number":46,"title":"Checklist won't update if using track by $index inside ng-repeat","user":{"login":"DieByMacro","id":610234,"avatar_url":"https://avatars.githubusercontent.com/u/610234?v=3","gravatar_id":"","url":"https://api.github.com/users/DieByMacro","html_url":"https://github.com/DieByMacro","followers_url":"https://api.github.com/users/DieByMacro/followers","following_url":"https://api.github.com/users/DieByMacro/following{/other_user}","gists_url":"https://api.github.com/users/DieByMacro/gists{/gist_id}","starred_url":"https://api.github.com/users/DieByMacro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DieByMacro/subscriptions","organizations_url":"https://api.github.com/users/DieByMacro/orgs","repos_url":"https://api.github.com/users/DieByMacro/repos","events_url":"https://api.github.com/users/DieByMacro/events{/privacy}","received_events_url":"https://api.github.com/users/DieByMacro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vitalets/checklist-model/labels/docs","name":"docs","color":"f7c6c7"},{"url":"https://api.github.com/repos/vitalets/checklist-model/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-10-20T18:16:28Z","updated_at":"2015-08-11T17:33:21Z","closed_at":"2015-08-11T17:33:21Z","body":"I've been using checklist-model to work with an array of check-boxes with each selected one can be deleted. Everything seems to work fine until I use it inside a ng-repeat.\r\n\r\nThe problem is, the deleted check-boxes still be there around when I add the track by $index along with the ng-repeat. If I remove that track by, it works fine (but in my real app I need that track by to work).\r\n\r\nHere's a plnkr,  http://plnkr.co/edit/5082nJfGwlOZaXYb184Z?p=preview\r\n\r\nTo see the problem, you can follow these steps.\r\n\r\n1.Select any check-box you want\r\n2/Delete those selected ones\r\n3.Check the check all button to see,\r\n\r\nNow look at the one with track by $index, it will leave some check-box unchecked. If you check it manually, it will have the old value added to the list. This is weird."},"comment":{"url":"https://api.github.com/repos/vitalets/checklist-model/issues/comments/129981179","html_url":"https://github.com/vitalets/checklist-model/issues/46#issuecomment-129981179","issue_url":"https://api.github.com/repos/vitalets/checklist-model/issues/46","id":129981179,"user":{"login":"beradrian","id":3028579,"avatar_url":"https://avatars.githubusercontent.com/u/3028579?v=3","gravatar_id":"","url":"https://api.github.com/users/beradrian","html_url":"https://github.com/beradrian","followers_url":"https://api.github.com/users/beradrian/followers","following_url":"https://api.github.com/users/beradrian/following{/other_user}","gists_url":"https://api.github.com/users/beradrian/gists{/gist_id}","starred_url":"https://api.github.com/users/beradrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beradrian/subscriptions","organizations_url":"https://api.github.com/users/beradrian/orgs","repos_url":"https://api.github.com/users/beradrian/repos","events_url":"https://api.github.com/users/beradrian/events{/privacy}","received_events_url":"https://api.github.com/users/beradrian/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T17:33:21Z","updated_at":"2015-08-11T17:33:21Z","body":"Clarified in the docs."}}