src/components/tabs/js/tabsController.js
function refreshIndex () {
    ctrl.selectedIndex = getNearestSafeIndex(ctrl.selectedIndex);
    ctrl.focusIndex    = getNearestSafeIndex(ctrl.focusIndex);
  }
function refreshIndex () {
    ctrl.selectedIndex = getNearestSafeIndex(ctrl.selectedIndex);
    ctrl.focusIndex    = getNearestSafeIndex(ctrl.focusIndex);
  }
function refreshIndex ( ) { ctrl . selectedIndex = getNearestSafeIndex ( ctrl . selectedIndex ) ; ctrl . focusIndex = getNearestSafeIndex ( ctrl . focusIndex ) ; }
Moves the indexes to their nearest valid values.
Moves the indexes to their nearest valid values .