Include Bootstrap in AngularJS using ng-bootstrap Last Updated : 18 Jun, 2019 Comments Improve Suggest changes Like Article Like Report AngularJS can be integrated with Bootstrap CSS and Javascript and can be used to create creative forms, tables, navigation bars, etc. Steps: Make sure the Angular CLI present in your system if not then run the command in the terminal to do so. npm install -g @angular/cli Create a new project on visual studio code by running the code ng new project-name. After creating new project, open that project on visual studio and its terminal make sure the path are in the directory of the new created project. Then run the following commands. npm install [email protected] --save npm install --save @ng-bootstrap/ng-bootstrap npm install jquery --save Import the NgbModule in app.module.ts by using import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; and also include it in the imports: list. imports: [ BrowserModule, NgbModule.forRoot() ], Make the following additions in the angular.json/angular-cli.json which is available in visual studio code. "styles": [ "./node_modules/bootstrap/dist/css/bootstrap.min.css", "src/styles.css" ], "scripts": [ "./node_modules/jquery/dist/jquery.min.js", "./node_modules/bootstrap/dist/js/bootstrap.min.js" ], There are two styles[] and scripts[] section in the angular.json so we have to add this part in the first section only. Also make sure that "./node_modules/bootstrap/dist/css/bootstrap.min.css" is written above "src/styles.css". There is no need to include .js files because native Angular directives are based on Bootstrap's markup and CSS and not on jQuery or Bootstraps javascript. Index.html html <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> Include Bootstrap in AngularJS </title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> </head> <body> <app-root> loading... </app-root> </body> </html> This code is only to display "loading..." before the app.component.html actually gets loaded. app.component.html html <!DOCTYPE html> <html> <head> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"> </script> <script src= "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"> </script> <script src= "https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"> </script> </head> <body> <div class="container"> <ngb-tabset> <ngb-tab title="Welcome"> <ng-template ngbTabContent> Welcome to GeeksforGeeks </ng-template> </ngb-tab> <ngb-tab> <ng-template ngbTabTitle> Learn <b>Angular</b> </ng-template> <ng-template ngbTabContent> Refer various Angular articles available in GeeksforGeeks. </ng-template> </ngb-tab> <ngb-tab title="Edit" [disabled]="true"> <ng-template ngbTabContent> <p> Make various changes in the code and explore </p> </ng-template> </ngb-tab> </ngb-tabset> </div> </body> Output: Selecting Welcome tab: Selecting Learn Angular tab: Edit tab cannot be selected since it has been disabled. Comment More infoAdvertise with us Next Article Include Bootstrap in AngularJS using ng-bootstrap J janice_shah Follow Improve Article Tags : Web Technologies Bootstrap AngularJS Similar Reads 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 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 ng Bootstrap Rating 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 see how to use Rating in angular ng bootstrap. Rating component is used to make a component 2 min read Angular ngx Bootstrap Rating 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 know how to use Rating in angular ngx bootstrap. Rating is used to make a component that w 2 min read How to open popup using Angular and Bootstrap ? Adding Bootstrap to your Angular application is an easy process. Just write the following command in your Angular CLI. It will add bootstrap into your node_modules folder. ng add @ng-bootstrap/ng-bootstrap Approach: Import NgbModal module in the TypeScript file of the corresponding component, and th 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 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 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 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 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 Like