angular npm install dependencies code example

Example: install dependencies angular

//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