{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/2028","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2028/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2028/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2028/events","html_url":"https://github.com/angular-ui/ui-router/issues/2028","id":87070218,"number":2028,"title":".is does not work with relative state name","user":{"login":"Elijen","id":1304054,"avatar_url":"https://avatars.githubusercontent.com/u/1304054?v=3","gravatar_id":"","url":"https://api.github.com/users/Elijen","html_url":"https://github.com/Elijen","followers_url":"https://api.github.com/users/Elijen/followers","following_url":"https://api.github.com/users/Elijen/following{/other_user}","gists_url":"https://api.github.com/users/Elijen/gists{/gist_id}","starred_url":"https://api.github.com/users/Elijen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elijen/subscriptions","organizations_url":"https://api.github.com/users/Elijen/orgs","repos_url":"https://api.github.com/users/Elijen/repos","events_url":"https://api.github.com/users/Elijen/events{/privacy}","received_events_url":"https://api.github.com/users/Elijen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-10T18:56:58Z","updated_at":"2015-06-10T18:56:58Z","closed_at":null,"body":"If you define a child state using the dot notation like this:\r\n\r\n```\r\n$stateProvider.state({ name: 'home', url: '/home', templateUrl: 'home.html'});\r\n$stateProvider.state({ name: 'home.foo', url: '/foo', templateUrl: 'foo.html'});\r\n```\r\n\r\nAnd then call `$state.is('.foo')` when the current state is `home.foo`, `undefined` is returned. According to the documentation it should return `true` as the `foo` is child of `home`.\r\n\r\nhttp://embed.plnkr.co/mMZH0AvE23iBd52GPzN8/preview"}}