VOOZH about

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

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


  • Courses
  • Tutorials
  • Interview Prep

How to make Rating 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-rating></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 rating with its UIBootStrap classes which will set the UI look for the rating.
  • Now make different types of rating using different classes and run the code.

Example:

Output:

👁 Image

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

Comment

Explore