Covid19 Live Status

COVID Live Status The world was in recovering from the COVID pandemic. I have just tried live status of covid affected areas and death rates using Angular. You can get covid details from live server json from covidtracking.com. Using HttpClient we gave responsive datas from live site through JSON. covide.component.ts readonly Root_url = 'https://api.covidtracking.com/v1/states/current.json'; posts : any; constructor( private http:HttpClient ) { } ngOnInit(): void { this.posts = this.http.get(this.Root_url); } And displaying those data using *ngFor in table ...

Read More

Angular Components

What Is an Angular Component? Components are like the basic building block in an Angular application. An Angular app contains a tree of Angular components. It contains #binding and #interpolation in Angular App A component is just a class that serves as a controller for the user interface. It consists of three parts - some TypeScript code, an HTML template, and CSS styles. For more a) Binding In angular binding is just a way to connect data from ...

Read More

Beginner of Angular

How to install Angular with the CLI? If you visit the official website above, you can see that there are some commands written. These are the 4 main steps to install an Angular project: Node Package Manager (NPM) installation Angular CLI installation Creating an Angular app with the CLI Running the app Let’s see them in details… 1. Install NPM Angular requires Node.js in your system (version 8.x or 13.x). If you already have it, you can skip this part. Node has ...

Read More