src/components/tabs/js/tabsController.js
function handleWindowResize () {
    ctrl.lastSelectedIndex = ctrl.selectedIndex;
    ctrl.offsetLeft        = fixOffset(ctrl.offsetLeft);

    $mdUtil.nextTick(function () {
      ctrl.updateInkBarStyles();
      updatePagination();
    });
  }
function handleWindowResize () {
    ctrl.lastSelectedIndex = ctrl.selectedIndex;
    ctrl.offsetLeft        = fixOffset(ctrl.offsetLeft);

    $mdUtil.nextTick(function () {
      ctrl.updateInkBarStyles();
      updatePagination();
    });
  }
function handleWindowResize ( ) { ctrl . lastSelectedIndex = ctrl . selectedIndex ; ctrl . offsetLeft = fixOffset ( ctrl . offsetLeft ) ; $mdUtil . nextTick ( function ( ) { ctrl . updateInkBarStyles ( ) ; updatePagination ( ) ; } ) ; }
Update size calculations when the window is resized.
Update size calculations when the window is resized .