VOOZH about

URL: https://www.geeksforgeeks.org/angular-js/how-to-make-dropdown-using-angular-ui-bootstrap/

⇱ How to make Dropdown using Angular UI Bootstrap ? - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

How to make Dropdown using Angular UI Bootstrap ?

Last Updated : 23 Jul, 2025

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

Syntax:

<div uib-dropdown></div>

Download AngularUI from the link:

https://angular-ui.github.io/bootstrap/
 

Approach: 

  • First, add Angular UI bootstrap scripts needed for your project.
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-animate.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-sanitize.js"></script> <script src="https://angular-ui.github.io/bootstrap//ui-bootstrap-tpls-2.5.0.js"></script>
  • Make dropdown with its UIBootStrap classes which will set the UI look for the dropdown.
  • Now make different types of dropdown using different classes and run the code.

Example:

Output:

👁 Image

Reference: https://angular-ui.github.io/bootstrap//#!%23dropdown

Comment

Explore