define $scope.tabs at the very beginning