{"action":"created","issue":{"url":"https://api.github.com/repos/mgcrea/angular-strap/issues/566","labels_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/566/labels{/name}","comments_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/566/comments","events_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/566/events","html_url":"https://github.com/mgcrea/angular-strap/issues/566","id":29552193,"number":566,"title":"bsTabs: Directive option to allow a callback when changing tabs","user":{"login":"Cadrach","id":142103,"avatar_url":"https://avatars.githubusercontent.com/u/142103?v=3","gravatar_id":"","url":"https://api.github.com/users/Cadrach","html_url":"https://github.com/Cadrach","followers_url":"https://api.github.com/users/Cadrach/followers","following_url":"https://api.github.com/users/Cadrach/following{/other_user}","gists_url":"https://api.github.com/users/Cadrach/gists{/gist_id}","starred_url":"https://api.github.com/users/Cadrach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cadrach/subscriptions","organizations_url":"https://api.github.com/users/Cadrach/orgs","repos_url":"https://api.github.com/users/Cadrach/repos","events_url":"https://api.github.com/users/Cadrach/events{/privacy}","received_events_url":"https://api.github.com/users/Cadrach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mgcrea/angular-strap/labels/directive-tab","name":"directive-tab","color":"444444"},{"url":"https://api.github.com/repos/mgcrea/angular-strap/labels/enhancement","name":"enhancement","color":"009800"},{"url":"https://api.github.com/repos/mgcrea/angular-strap/labels/pr-please","name":"pr-please","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-03-17T11:15:02Z","updated_at":"2015-09-15T09:23:45Z","closed_at":"2014-08-24T17:12:37Z","body":"Hi,\r\n\r\nIs there a way to have something like this available for the tabs directive?\r\n\r\n```\r\n<div bs-tabs=\"tabs\" data-onchange=\"controllerScopeMethod()\"></div>\r\n```\r\n\r\nThe callback would be run when switching tabs.\r\nI did not see anything like it in the docs or the code"},"comment":{"url":"https://api.github.com/repos/mgcrea/angular-strap/issues/comments/140335267","html_url":"https://github.com/mgcrea/angular-strap/issues/566#issuecomment-140335267","issue_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/566","id":140335267,"user":{"login":"h4d3s2004","id":7689339,"avatar_url":"https://avatars.githubusercontent.com/u/7689339?v=3","gravatar_id":"","url":"https://api.github.com/users/h4d3s2004","html_url":"https://github.com/h4d3s2004","followers_url":"https://api.github.com/users/h4d3s2004/followers","following_url":"https://api.github.com/users/h4d3s2004/following{/other_user}","gists_url":"https://api.github.com/users/h4d3s2004/gists{/gist_id}","starred_url":"https://api.github.com/users/h4d3s2004/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4d3s2004/subscriptions","organizations_url":"https://api.github.com/users/h4d3s2004/orgs","repos_url":"https://api.github.com/users/h4d3s2004/repos","events_url":"https://api.github.com/users/h4d3s2004/events{/privacy}","received_events_url":"https://api.github.com/users/h4d3s2004/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T09:23:45Z","updated_at":"2015-09-15T09:23:45Z","body":"+1"}}