{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/2363","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2363/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2363/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2363/events","html_url":"https://github.com/angular-ui/ui-router/pull/2363","id":115703682,"number":2363,"title":"feat(uiSrefActive): provide a ng-{class,style} like interface","user":{"login":"fpipita","id":623116,"avatar_url":"https://avatars.githubusercontent.com/u/623116?v=3","gravatar_id":"","url":"https://api.github.com/users/fpipita","html_url":"https://github.com/fpipita","followers_url":"https://api.github.com/users/fpipita/followers","following_url":"https://api.github.com/users/fpipita/following{/other_user}","gists_url":"https://api.github.com/users/fpipita/gists{/gist_id}","starred_url":"https://api.github.com/users/fpipita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpipita/subscriptions","organizations_url":"https://api.github.com/users/fpipita/orgs","repos_url":"https://api.github.com/users/fpipita/repos","events_url":"https://api.github.com/users/fpipita/events{/privacy}","received_events_url":"https://api.github.com/users/fpipita/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-08T01:27:47Z","updated_at":"2016-01-30T13:53:05Z","closed_at":"2015-11-14T19:15:28Z","pull_request":{"url":"https://api.github.com/repos/angular-ui/ui-router/pulls/2363","html_url":"https://github.com/angular-ui/ui-router/pull/2363","diff_url":"https://github.com/angular-ui/ui-router/pull/2363.diff","patch_url":"https://github.com/angular-ui/ui-router/pull/2363.patch"},"body":"This pull request is based on the suggestion by @nateabele on issue #1431. It enables `ui-sref-active` to be passed an expression that should evaluate to an object hash with the `activeClass` and `state` properties. If `state` is provided, `activeClass` is applied to its element if the current active state includes `state`, even if `state` is abstract. It works even if `ui-sref` is found neither on the element nor on any of its children. Furthermore, if `state` is provided, it takes precedence over the state exposed by `ui-sref`. Hope it helps to close #1431 :)"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/comments/177182442","html_url":"https://github.com/angular-ui/ui-router/pull/2363#issuecomment-177182442","issue_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2363","id":177182442,"user":{"login":"shali3","id":5604880,"avatar_url":"https://avatars.githubusercontent.com/u/5604880?v=3","gravatar_id":"","url":"https://api.github.com/users/shali3","html_url":"https://github.com/shali3","followers_url":"https://api.github.com/users/shali3/followers","following_url":"https://api.github.com/users/shali3/following{/other_user}","gists_url":"https://api.github.com/users/shali3/gists{/gist_id}","starred_url":"https://api.github.com/users/shali3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shali3/subscriptions","organizations_url":"https://api.github.com/users/shali3/orgs","repos_url":"https://api.github.com/users/shali3/repos","events_url":"https://api.github.com/users/shali3/events{/privacy}","received_events_url":"https://api.github.com/users/shali3/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T13:53:05Z","updated_at":"2016-01-30T13:53:05Z","body":"This is a great feature. you should really document it. I see no mention of this."}}