Check out example codes for "bootstrap angular". It will help you in understanding the concepts better.

Code Example 1

ng add @ng-bootstrap/ng-bootstrap

Code Example 2

$ npm install --save bootstrap

Code Example 3

ng add @ng-bootstrap/ng-bootstrap

Code Example 4

npm install --save bootstrap

Learn ReactJs, React Native from akashmittal.com