Build an Angular App in 5 Minutes

No, I don’t want to bother you with useless text. Actually you can ignore the text outside of the grey boxes and just copy & paste the commands into your Terminal — have fun.

  1. Install Angular CLI
npm install -g @angular/cli typescript

2. Create a new app with Angular CLI

ng new angular-material-seed
cd angular-material-seed

3. Install Angular Material and Angular Animations

npm install --save @angular/material @angular/animations

4. Add module dependencies to app/app.module.ts

5. Design a very basic and simple html in app.component.html

6. Import a basic style in app/styles.css

7. Add icons link in index.html

8. Start the application

ng serve



Source code:

Techstack: Angular4 and Material2