{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/837","labels_url":"https://api.github.com/repos/angular-ui/ui-select/issues/837/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-select/issues/837/comments","events_url":"https://api.github.com/repos/angular-ui/ui-select/issues/837/events","html_url":"https://github.com/angular-ui/ui-select/issues/837","id":67221907,"number":837,"title":"Use $parent in ng-repeat on ui-select-choices not working","user":{"login":"upmauro","id":106457,"avatar_url":"https://avatars.githubusercontent.com/u/106457?v=3","gravatar_id":"","url":"https://api.github.com/users/upmauro","html_url":"https://github.com/upmauro","followers_url":"https://api.github.com/users/upmauro/followers","following_url":"https://api.github.com/users/upmauro/following{/other_user}","gists_url":"https://api.github.com/users/upmauro/gists{/gist_id}","starred_url":"https://api.github.com/users/upmauro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upmauro/subscriptions","organizations_url":"https://api.github.com/users/upmauro/orgs","repos_url":"https://api.github.com/users/upmauro/repos","events_url":"https://api.github.com/users/upmauro/events{/privacy}","received_events_url":"https://api.github.com/users/upmauro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T21:15:34Z","updated_at":"2015-07-27T03:59:40Z","closed_at":null,"body":"$parent in ui-select-choices of ui-select not work when used inside directive\r\n\r\nI created a plunker snippet to show the problem:\r\n\r\nhttp://plnkr.co/edit/RkPiTdPRHl8eTtCM9lt1?p=preview\r\n\r\nSorry my english.\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-select/issues/comments/125079415","html_url":"https://github.com/angular-ui/ui-select/issues/837#issuecomment-125079415","issue_url":"https://api.github.com/repos/angular-ui/ui-select/issues/837","id":125079415,"user":{"login":"samzhao","id":1125203,"avatar_url":"https://avatars.githubusercontent.com/u/1125203?v=3","gravatar_id":"","url":"https://api.github.com/users/samzhao","html_url":"https://github.com/samzhao","followers_url":"https://api.github.com/users/samzhao/followers","following_url":"https://api.github.com/users/samzhao/following{/other_user}","gists_url":"https://api.github.com/users/samzhao/gists{/gist_id}","starred_url":"https://api.github.com/users/samzhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samzhao/subscriptions","organizations_url":"https://api.github.com/users/samzhao/orgs","repos_url":"https://api.github.com/users/samzhao/repos","events_url":"https://api.github.com/users/samzhao/events{/privacy}","received_events_url":"https://api.github.com/users/samzhao/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T03:59:40Z","updated_at":"2015-07-27T03:59:40Z","body":"Hey, I encountered the exact same problem today, and it turns out to be a pretty easy fix.\r\n\r\nIn your directive's template, instead of saying `<ui-select-choices repeat=\"item in $parent.list\"></ui-select-choices>` do `<ui-select-choices repeat=\"item in $parent.$parent.list\"></ui-select-choices>`.\r\n\r\nHope that helps."}}