code: function shouldPaginate () {
      if (ctrl.noPagination || !loaded) return false;
      var canvasWidth = $element.prop('clientWidth');
  
      angular.forEach(getElements().tabs, function (tab) {
        canvasWidth -= tab.offsetWidth;
      });
  
      return canvasWidth < 0;
    }
docs: Determines if pagination is necessary to display the tabs within the available space.
  @returns {boolean}