{"action":"created","issue":{"url":"https://api.github.com/repos/mgcrea/angular-strap/issues/2091","repository_url":"https://api.github.com/repos/mgcrea/angular-strap","labels_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/2091/labels{/name}","comments_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/2091/comments","events_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/2091/events","html_url":"https://github.com/mgcrea/angular-strap/issues/2091","id":148428592,"number":2091,"title":"No longer able to set bsActivePane in controller constructor","user":{"login":"hackel","id":583677,"avatar_url":"https://avatars.githubusercontent.com/u/583677?v=3","gravatar_id":"","url":"https://api.github.com/users/hackel","html_url":"https://github.com/hackel","followers_url":"https://api.github.com/users/hackel/followers","following_url":"https://api.github.com/users/hackel/following{/other_user}","gists_url":"https://api.github.com/users/hackel/gists{/gist_id}","starred_url":"https://api.github.com/users/hackel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackel/subscriptions","organizations_url":"https://api.github.com/users/hackel/orgs","repos_url":"https://api.github.com/users/hackel/repos","events_url":"https://api.github.com/users/hackel/events{/privacy}","received_events_url":"https://api.github.com/users/hackel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-14T17:19:49Z","updated_at":"2016-04-14T17:53:51Z","closed_at":null,"body":"I used to be able to set the active tab by simply setting `this.activeTab = 'tabName'` from my indexCtrl constructor.  With a recent update (I'm not sure exactly when), this is no longer working.  I have:\r\n`<div bs-tabs bs-active-pane=\"indexCtrl.activeTab\">`\r\nIf I log this.activeTab in my constructor, I see that it is changed to what I want, but then gets changed back to the default automatically somehow.\r\n\r\nWere there any changes made recently that might have caused this regression?  I've double-checked that I'm not setting it anywhere else in my code that can find.\r\n\r\nNote that if I set indexCtrl.activeTab *later*, the tabs switch just as they are supposed to.  It's only after the controller constructor that it gets overwritten.\r\n\r\nEdit: I did upgrade Angular from 1.4.10 to 1.5.3 recently, could this possibly be related?  Also, I'm using angular-strap 2.3.7."},"comment":{"url":"https://api.github.com/repos/mgcrea/angular-strap/issues/comments/210075852","html_url":"https://github.com/mgcrea/angular-strap/issues/2091#issuecomment-210075852","issue_url":"https://api.github.com/repos/mgcrea/angular-strap/issues/2091","id":210075852,"user":{"login":"hackel","id":583677,"avatar_url":"https://avatars.githubusercontent.com/u/583677?v=3","gravatar_id":"","url":"https://api.github.com/users/hackel","html_url":"https://github.com/hackel","followers_url":"https://api.github.com/users/hackel/followers","following_url":"https://api.github.com/users/hackel/following{/other_user}","gists_url":"https://api.github.com/users/hackel/gists{/gist_id}","starred_url":"https://api.github.com/users/hackel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackel/subscriptions","organizations_url":"https://api.github.com/users/hackel/orgs","repos_url":"https://api.github.com/users/hackel/repos","events_url":"https://api.github.com/users/hackel/events{/privacy}","received_events_url":"https://api.github.com/users/hackel/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T17:53:51Z","updated_at":"2016-04-14T17:53:51Z","body":"I was finally able to work around this issue by setting this.activeTab inside of a `$timeout(fn, 0)`.  I don't know whether this is the intended behaviour or if it's still a bug, but that still feels a bit clunky to me."}}