angular-ui/bootstrap — pull request #153 by darwin (2013-02-18 03:55:45+00:00)
Title: fix(tabs): keep stable tab order (when filtering ng-repeat)

The pane directive should call tabsCtrl.addPane with index, because link function is not guaranteed to be called sequentially. DOM panes may appear or disappear on one-by-one basis in more advanced scenarios with applied ng-repeat filtering.