{"action":"created","issue":{"url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/223","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,"milestone":null,"comments":8,"created_at":"2015-02-11T18:24:44Z","updated_at":"2015-07-03T12:59:23Z","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):\r\n\r\n```\r\nui-state=\"{{device.name | nospace}}{{option.label}}Button\"\r\n```\r\n\r\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```).\r\n\r\nIs what I'm doing illegal syntax or similar? Or is this a bug/unsupported?"},"comment":{"url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/comments/118341604","html_url":"https://github.com/mcasimir/mobile-angular-ui/issues/223#issuecomment-118341604","issue_url":"https://api.github.com/repos/mcasimir/mobile-angular-ui/issues/223","id":118341604,"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},"created_at":"2015-07-03T12:59:23Z","updated_at":"2015-07-03T12:59:23Z","body":"I was using whichever source is included in the online tutorial found [here](http://mobileangularui.com/blog/your-first-phonegap-app-with-mobile-angular-ui/). Pardon my ignorance, but I'm not sure which source the included generator makes use of. Probably master."}}