Skip to content
Related Articles

Related Articles

Save Article
Improve Article
Save Article
Like Article

How to make Pager using Angular UI bootstrap ?

  • Last Updated : 19 Jul, 2021

In this article, we will see how to make Dropdown using Angular UI bootstrap. It is an AngularJS framework created by Angular UI developers for providing better UI which can be used easily.


<div uib-pager></div>

Download AngularUI from the link:


  • First, add Angular UI bootstrap scripts needed for your project.

<script src=””></script>
<script src=””></script>
<script src=””></script>
<script src=””></script>

  • Make pager with its UIBootStrap classes which will set the UI look for the pager.
  • Now make different types of pager using different classes and run the code.


<!DOCTYPE html>
<html ng-app="gfg">
    <!-- Adding CDN scripts required for our page -->
    <script src=
    <script src=
    <script src=
    <script src=
        // Adding Modules
        angular.module('gfg', ['ngAnimate'
            'ngSanitize', 'ui.bootstrap']);
            function ($scope) {
                $ = 10
    <link href=
    <div ng-controller="pager">
        <!-- Making a pager -->
        <h4>GeeksforGeeks Pager</h4>
        <pre>This is {{page}}th page</pre>
        <ul uib-pager total-items="100" 



My Personal Notes arrow_drop_up
Recommended Articles
Page :