angular-ui/bootstrap — pull request #2265 by dennis-g (2014-05-27 15:33:21+00:00)
Title: Do not select Tabs on destroy

I'm using the onSelect function to save the status of the last active tab in the sessionStorage. But if you call the select function when destroying the tabs it overwrites the index of the latest tab.

It would make more sense to me. What do you think?