MikiSoft MikiSoft - 1 year ago 105
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?

Answer Source

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).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download