How to make Rating using Angular UI Bootstrap ? Last Updated : 06 Jan, 2023 Comments Improve Suggest changes Like Article Like Report 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: HTML <!DOCTYPE html> <html ng-app="gfg"> <head> <!-- Adding CDN scripts required for our page --> <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> <link href= "https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <script> // Adding Modules angular.module('gfg', ['ngAnimate', 'ngSanitize', 'ui.bootstrap']); angular.module('gfg').controller('rating', function ($scope) { $scope.rate = 4; $scope.max = 12; $scope.isReadonly = false; $scope.hov = function (value) { $scope.over = value; $scope.per = 100 * (value / $scope.max); }; }); </script> </head> <body> <div ng-controller="rating"> <!-- making a rating --> <div class="loumn"> <span uib-rating ng-model="rate" max="max" read-only="isReadonly" on-hover="hov(value)" on-leave="over = null" titles= "['a','b','c','d','e','f','g','h','i','j','k','l']" aria-labelledby="default-rating"> </span> <span class="label" ng-class="{'label-warning': per<30, 'label-info': per>=30 && per<70, 'label-success': per>=70}" ng-show="over && !isReadonly">{{per}}%</span> </div> </div> </body> </html> Output: Reference: https://angular-ui.github.io/bootstrap/#!#rating Comment More infoAdvertise with us Next Article How to make Rating using Angular UI Bootstrap ? taran910 Follow Improve Article Tags : Web Technologies AngularJS Bootstrap-Questions Angular-UI AngularUI-Bootstrap +1 More Similar Reads How to make Pager using Angular UI bootstrap ? 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. Syntax: <div uib-pager></div> Download AngularUI from the link: https://angular-ui.github.io/boots 1 min read How to make Tabs using Angular UI Bootstrap ? In this article we will see how to make Tabs 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. Download AngularUI from the link: https://angular-ui.github.io/bootstrap Approach: First, add An 2 min read How to make Pagination using Angular UI Bootstrap ? 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-pagination></div> Download AngularUI from the link: https://ang 1 min read How to make Tooltip using Angular UI Bootstrap ? 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-tooltip></div> Download AngularUI from the link: https://angula 2 min read How to make Popover using Angular UI Bootstrap ? 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-popover></div> Download AngularUI from the link: https://angula 1 min read How to make Timepicker using Angular UI Bootstrap ? 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 to provide better UI which can be used easily. Syntax: <div uib-timepicker></div> Download AngularUI from the link: https://angul 1 min read How to make Progressbar using Angular UI Bootstrap ? 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-progressbar></div> Download AngularUI from the link: https://a 1 min read How to make alert using Angular UI Bootstrap ? In this article, we will see how to make alerts 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. Alerts directive is used for generating alerts from static and dynamic model data. Syntax: 2 min read How to make buttons using Angular UI Bootstrap ? In this article, we will see how to make buttons 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. Buttons directive is used for making buttons. Syntax: <buttonclass='btn btn-primary'>b 2 min read How to make Dropdown using Angular UI Bootstrap ? 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://angu 2 min read Like