angular-ui/bootstrap — pull request #3088 by ljantzen (2014-12-11 14:49:57+00:00)
Title: feat(tabs): disallow deselect of tab in onDeselect

We had the need to disallow changing tabs according to business rules. This pull request implements the functionality where the return value (true/false) of onDeselect() determines if switching tabs is allowed or not.