O'Reilly logo

Hands-On Data Structures and Algorithms with JavaScript by Kashyap Mukkamala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Angular application

First, let's create an Angular application like we did in the preceding use case:

ng new heatmap

This should create the app and it should be ready to go. Just go into your project folder and run the following command to see your app running:

ng serve

Once the application is up, we will include Angular material just so we can quickly have a nice form up and running. To install material in your Angular application, run the following command:

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

Once material is installed, include the module of your choice in your main app.module.jswhich, in this case, is going to be MatInputModule and ReactiveFormsModule because we will need them to create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required