{"action":"created","issue":{"url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/223","repository_url":"https://api.github.com/repos/mcasimir/mobile-angular-ui","labels_url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/223/comments","events_url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/223/events","html_url":"https://github.com/mcasimir/mobile-angular-ui/issues/223","id":57355636,"number":223,"title":"Dynamic ui-state causes \"uninitialized shared state\" error","user":{"login":"egalpin","id":7582748,"avatar_url":"https://avatars.githubusercontent.com/u/7582748?v=3","gravatar_id":"","url":"https://api.github.com/users/egalpin","html_url":"https://github.com/egalpin","followers_url":"https://api.github.com/users/egalpin/followers","following_url":"https://api.github.com/users/egalpin/following{/other_user}","gists_url":"https://api.github.com/users/egalpin/gists{/gist_id}","starred_url":"https://api.github.com/users/egalpin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egalpin/subscriptions","organizations_url":"https://api.github.com/users/egalpin/orgs","repos_url":"https://api.github.com/users/egalpin/repos","events_url":"https://api.github.com/users/egalpin/events{/privacy}","received_events_url":"https://api.github.com/users/egalpin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2015-02-11T18:24:44Z","updated_at":"2016-11-14T15:35:36Z","closed_at":null,"body":"When using the ui-state directive inside a nested ng-repeat, I'm trying to set unique ui-state names using expressions.  Here is an example (ng-repeat devices and options):\n\n```\nui-state=\"{{device.name | nospace}}{{option.label}}Button\"\n```\n\nI'm using the same name as above with ui-turn-on in conjunction with a btn-group like your example found here:  http://mobileangularui.com/demo/#/toggle.  When I click the buttons in the btn-group, Firebug reveals that there is an error (`uninitialized shared state`).\n\nIs what I'm doing illegal syntax or similar? Or is this a bug/unsupported?\n"},"comment":{"url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/comments/260368249","html_url":"https://github.com/mcasimir/mobile-angular-ui/issues/223#issuecomment-260368249","issue_url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/223","id":260368249,"user":{"login":"napcat","id":2787343,"avatar_url":"https://avatars.githubusercontent.com/u/2787343?v=3","gravatar_id":"","url":"https://api.github.com/users/napcat","html_url":"https://github.com/napcat","followers_url":"https://api.github.com/users/napcat/followers","following_url":"https://api.github.com/users/napcat/following{/other_user}","gists_url":"https://api.github.com/users/napcat/gists{/gist_id}","starred_url":"https://api.github.com/users/napcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/napcat/subscriptions","organizations_url":"https://api.github.com/users/napcat/orgs","repos_url":"https://api.github.com/users/napcat/repos","events_url":"https://api.github.com/users/napcat/events{/privacy}","received_events_url":"https://api.github.com/users/napcat/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T15:35:36Z","updated_at":"2016-11-14T15:35:36Z","body":"Is it possible to set dynamically the ui-state?\r\n\r\nI need to set different ui-states inside a ng-repeat. I was trying to use $index to create a unique ID\r\n\r\n`ui-state=\"newstateid + $index\"`\r\n\r\nI can't set directly in the html because the data comes from the server..."}}
{"actor":{"display_login":"napcat"}}