Improving Angular *ngFor Performance With trackBy

Angular uses many conditional structural directives such *ngIf, ngSwitch, ngSwitchCase etc. One of the most used conditional directives used is *ngFor. Basically, this directive is used for iterating an array or an object and display it in the view(HTML). The * character before ngFor creates a parent template. In this blog, we shall see about... Continue Reading →

Introduction to Angular Interceptors

Angular application uses HttpClient or Http to communicate between the API's. Most of the latest angular applications they use HttpClient since Http is deprecated. HttpClient is more modern and easy to use than Http. So, Angular Interceptors as the name defines, they are used to intercept and modify the Http Requests globally before they sent... Continue Reading →

Introduction to Angular Directives

Angular directives plays a major role in an angular application. So we say, Components are the building blocks of an Angular application, but you know Component is actually a directive. Basically a directive is a function that executes whenever the angular compiler finds it in the DOM. All the directives have their own respective names... Continue Reading →

Introduction to Angular Forms

In HTML, forms are used to collect a data from the user and based on that he/she can do their respective operations. Mostly applications use forms for login, signup, or get an some sensitive information etc. In Angular, they provide two types of forms, Template Driven FormsReactive Forms Basically these two forms capture the inputs... Continue Reading →

How to Communicate between Angular Components

Angular is purely driven through Component based architecture. Components are like basic building blocks in an Angular application. These components can also be nested such as there may be many child components to a single parent component. A component has a selector, template,style and other properties and it is defined using an @component decorator. In... Continue Reading →

Blog at WordPress.com.

Up ↑