Skip to main content


Showing posts from March, 2020

how to add angular material in angular 9

Step 1: First go to the project (inside the project folder) run the following command.

Mukeshs-MacBook-Air:angular-matrial-project mukeshchoudhary$ ng add @angular/material ?Would you like to share anonymous usage data about this project with the Angular Team at Google under Google’s Privacy Policy at For more details and how to change this setting, see
Thank you for sharing anonymous usage data. Would you change your mind, the following command will disable this feature entirely:
ng analytics project off
Installing packages for tooling via npm. Installed packages for tooling via npm. ?Choose a prebuilt theme name, or "custom" for a custom theme:Indigo/Pink[ Preview: ] ?Set up global Angular Material typography styles?Yes ?Set up browser animations for Angular Material?Yes UPDATE package.json (1364 bytes) ✔ Packages installed successfully. UPDATE src/app/app.module.ts (502 by…

how to create first angular project

Steps 1 : First Go to your destination folder where you want to create a project :

Step 2: Then run the below command : ng new name_of_project

Mukeshs-MacBook-Air:ANGULAR-MATRIAL mukeshchoudhary$ ng new angular-matrial-project
?Would you like to add Angular routing?Yes ?Which stylesheet format would you like to use?CSS CREATE angular-matrial-project/ (1038 bytes) CREATE angular-matrial-project/.editorconfig (246 bytes) CREATE angular-matrial-project/.gitignore (631 bytes) CREATE angular-matrial-project/angular.json (3703 bytes) CREATE angular-matrial-project/package.json (1300 bytes) CREATE angular-matrial-project/tsconfig.json (489 bytes) CREATE angular-matrial-project/tslint.json (1953 bytes) CREATE angular-matrial-project/browserslist (429 bytes) CREATE angular-matrial-project/karma.conf.js (1035 bytes) CREATE angular-matrial-project/ (210 bytes) CREATE angular-matrial-project/tsconfig.spec.json (270 bytes) CREATE angular-matrial-project/src/favicon.ico (948 bytes) CREA…