MikiSoft MikiSoft - 3 months ago 13x
AngularJS Question

UI Bootstrap: Execute specific function before tab changes

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

Here's a demo plunker (note how the code runs before the view changes).