As in the title writes, is it possible to intercept tab change event and execute some function before that occurs?
Yes you can, just add an ng-click on the uib-tab directive
ng-click
uib-tab
Here's a demo plunker (note how the code runs before the view changes).