Have You Tried Angular Switch Yet

Angular 17 shipped with Angular @switch, and this was a game changer, when it comes to simplicity compared to the former ngSwitch directive. In this guide, we will see how easy it is to use this awesome addition to Angular!

Nov 19, 2024

Views 12

How To Use Angular Renderer2 For DOM Manipulation

DOM manipulation in Angular, just like in any web application is something we do on a daily basis. Angular Renderer2 makes this easy for us.

Jul 13, 2023

Views 41

How To Use Angular NgContainer

Angular NgContainer makes it easy for us to build UI, in a more organized and performant way. Let us quickly see how we can use this powerful tool from Angular.

Jun 29, 2023

Views 30

Angular Fix MatFormField Must Contain A MatFormFieldControl

Whenever we are using Angular material, mostly Angular mat-form-field, we get the error that mat-form-field must contain a mat-form-field-control, well, let’s fix that.

Jun 27, 2023

Views 13

How To Use Angular Ng Template And Reuse UI Pieces

Reusing UI pieces in Angular can be a powerful advantage when we are developing. We will see how we can use Angular NgTemplate to reuse UI pieces.

Jun 26, 2023

Views 1

A Simple Explanation Of A Unity Frame

At times, we realize that we wanna know what a unity frame is, but it keeps escaping our grasp. Let’s demystify it!

Jun 22, 2023

Views 31

A Practical Example To Validate Angular Input Fields With Joi

At times, we want to do a quick and custom validation of Angular inputs. Well, how let’s see how we can validate Angular input fields using Joi.

Jun 21, 2023

Views 15

Destructure JavaScript Object With Defaults

You can really simplify your access to your JavaScript objects by using this simple method to destructure JavaScript object with defaults.

Jun 20, 2023

Views 27

How To Disable Angular HTML Elements Programmatically

At times, we need to disable Angular HTML element like buttons, inputs or even material element, let’s see how we can do this in simple examples.

Jun 19, 2023

Views 46

Get Index Of Item In JavaScript For Of Loop

In a few lines of code, you will see how easy it is to get an item’s index in JavaScript For Of Loop. Let’s do this!

Jun 16, 2023

Views 34