angular-ui/bootstrap — pull request #1566 by jroxendal (2014-01-12 19:48:23+00:00)
Title: feat(tabs): makes deselect callback fire before select. fixes #1557.

This should fix the call order of the select and deselect callbacks.