angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.3k stars 6.74k forks source link

Remove tab #6643

Closed nem95 closed 6 years ago

nem95 commented 6 years ago

Hi everyone!

I'm trying to add a tab when user click on the "+" button, and remove a table when user click on "-" button. The adding function works perfectly, but when I remove the last tab, the tab is removed from the array but, it run the adding tab function and juste the content is removed from the tab.

Can someone help me please ?