I was using AngularJs-1.0.7 and Bootstrap in my application. Recently I migrated from AngularJs-1.0.7 to AngularJs-1.2. I am using Bootstrap\'s Accordions and Tabs.
If you don't success with previous answers, you could try use $timeout... In this case I have used AngularUI tabs...
vm.removeUserTab = function (user) { $timeout(function () { vm.activeTab = 0; var index = vm.userTabs.indexOf(user); vm.userTabs.splice(index, 1); }); };