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

Code Example 1

//some useful libraries to install in angular
npm install aos --save   //AOS animation

npm install --save @fortawesome/fontawesome-free  //fontawesome library
"styles": [
           "node_modules/@fortawesome/fontawesome-free/css/all.css"
        ]

"scripts": [
          "node_modules/@fortawesome/fontawesome-free/js/all.js"
        ]


//Angular material and Flex-Layout
ng add @angular/material / npm i @angular/material
npm install -s @angular/flex-layout
npm i @angular/cdk --save

Learn ReactJs, React Native from akashmittal.com