{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/2207","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2207/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2207/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2207/events","html_url":"https://github.com/angular-ui/ui-router/issues/2207","id":102975846,"number":2207,"title":"ui-sref-active with non-url parameters","user":{"login":"lucaskerdoncuff","id":12681164,"avatar_url":"https://avatars.githubusercontent.com/u/12681164?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaskerdoncuff","html_url":"https://github.com/lucaskerdoncuff","followers_url":"https://api.github.com/users/lucaskerdoncuff/followers","following_url":"https://api.github.com/users/lucaskerdoncuff/following{/other_user}","gists_url":"https://api.github.com/users/lucaskerdoncuff/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaskerdoncuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaskerdoncuff/subscriptions","organizations_url":"https://api.github.com/users/lucaskerdoncuff/orgs","repos_url":"https://api.github.com/users/lucaskerdoncuff/repos","events_url":"https://api.github.com/users/lucaskerdoncuff/events{/privacy}","received_events_url":"https://api.github.com/users/lucaskerdoncuff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/ui-router/labels/PlunkrPlease","name":"PlunkrPlease","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-25T08:30:29Z","updated_at":"2015-08-31T18:29:23Z","closed_at":null,"body":"Hi everyone,\r\n\r\nIt seems that the ui-sref-active directive is not working when using a non-url parameters.\r\nI have a state defined like this:\r\n```javascript\r\n.state('edit_adv.overview', {\r\n            url: '/overview/:name',\r\n            templateUrl: 'app/adv/overview/overview.html',\r\n            controller: 'OverviewController',\r\n            params: {campaign: null}\r\n})\r\n```\r\nI'm calling it with:\r\n```html\r\n<button ui-sref=\"edit_adv.overview({ name: campaign.name, campaign: campaign })\" ui-sref-active='button-active'>Overview</button>\r\n```\r\nIf I remove 'campaign: campaign', the ui-sref-active is working, otherwise it's not ....\r\n\r\nAny idea ?\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/comments/136454864","html_url":"https://github.com/angular-ui/ui-router/issues/2207#issuecomment-136454864","issue_url":"https://api.github.com/repos/angular-ui/ui-router/issues/2207","id":136454864,"user":{"login":"eddiemonge","id":127535,"avatar_url":"https://avatars.githubusercontent.com/u/127535?v=3","gravatar_id":"","url":"https://api.github.com/users/eddiemonge","html_url":"https://github.com/eddiemonge","followers_url":"https://api.github.com/users/eddiemonge/followers","following_url":"https://api.github.com/users/eddiemonge/following{/other_user}","gists_url":"https://api.github.com/users/eddiemonge/gists{/gist_id}","starred_url":"https://api.github.com/users/eddiemonge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddiemonge/subscriptions","organizations_url":"https://api.github.com/users/eddiemonge/orgs","repos_url":"https://api.github.com/users/eddiemonge/repos","events_url":"https://api.github.com/users/eddiemonge/events{/privacy}","received_events_url":"https://api.github.com/users/eddiemonge/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T18:29:22Z","updated_at":"2015-08-31T18:29:22Z","body":"@lucaskerdoncuff ^^"}}