How to make buttons 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 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'>button</button> 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 a button with its UIBootStrap classes which will set the UI look for the buttons.Now make different types of buttons 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> <script> // Adding Modules angular.module('gfg', ['ngAnimate', 'ngSanitize', 'ui.bootstrap']); angular.module('gfg').controller('button', function ($scope) { }); </script> <link href= "https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <div ng-controller="button"> <!-- Making a primary button --> <button class="btn btn-primary">Primary Button</button> <br> <br> <!-- Making a success button --> <button class="btn btn-success">Success Button</button> <br> <br> <!-- Making a default button --> <button class="btn btn-default">Default Button</button> <br> <br> <!-- Making a danger button --> <button class="btn btn-danger">Danger Button</button> <br> <br> <!-- Making a warning button --> <button class="btn btn-warning">Warning Button</button> <br> <br> <!-- Making a label primary button --> <label class="btn btn-primary"> Primary Button using label </label> </div> </body> </html> Output: Reference: https://angular-ui.github.io/bootstrap/#!#buttons Comment More infoAdvertise with us Next Article How to make buttons 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 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 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 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 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 Angular ng Bootstrap Buttons Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites.In this article we will know how to use Buttons in angular ng bootstrap. Buttons are used to make a group of buttons. 2 min read Angular ngx Bootstrap Buttons Component Angular ngx bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article, we will see how to use buttons in angular ngx bootstrap. Buttons are used to make a group of butto 2 min read How to use bootstrap 4 in angular 2? Bootstrap is an open-source toolkit for developing with HTML, CSS, and JS. The Bootstrap framework can be used together with modern JavaScript web & mobile frameworks like Angular. Bootstrap 4 is the newest version of Bootstrap, which is the most popular HTML, CSS, and JavaScript framework. This 2 min read How To Use Bootstrap Icons In Angular? The most popular framework for making responsive and mobile-friendly websites is called Bootstrap. They include forms, typography, buttons, tables, navigation, modals, and picture carousels etc.These are built using CSS and HTML. It also supports plugins written in JavaScript. It provides the proces 3 min read Angular PrimeNG Button Link Buttons Component Angular PrimeNG is an open-source front-end UI library that has many native Angular UI components which help developers to build a fast and scalable web solution. In this article, we will see Angular PrimeNG Button Link Buttons Component. A Button component is used for carrying out some action when 3 min read Angular ng Bootstrap Collapse Component Angular ng bootstrap is a bootstrap framework used with angular to create components with great styling and this framework is very easy to use and is used to make responsive websites. In this article we will know how to use Collapse in angular ng bootstrap. Collapse is used to make a button that wil 2 min read Like