Categories
Angular Tutorials

Building a Reusable Angular Sorting Directive

We already achieved sorting by updating some signal httpResource. All in unison. But making every column sortable has some boilerplate code. We need a way to easily make our table sortable with minimal effort. In this post we will fix it by building a reusable Angular Sorting Directive, that is inspired from Material Sort without […]

Categories
Angular Opinions Tutorials

Add Sorting to Your Table Using Angular Signals

In the previous guide we populated HTML table with Angular httpResource API. You can read more about it. This time we will make the table interactive. We will find out how well httpResource and Angular Signals plays together when it comes to sorting. What are we building with Angular Signals Here is how the final […]

Categories
Angular Tutorials

Build an Angular HTML Table Using httpResource

In this guide we will build a table using live API data.We will use angular httpResource. Which was introduced to simplify asynchronous data handling using signals. Angular Version 22 marks the httpResource API as stable, making it default choice for simple GET requests. What we are building with angular httpResource The section shows the final […]

Categories
Terminal Tutorials

How npx / npm exec works

I was working with angular cli and wanted to run the local version of angular not the global version. The reason was to run the available angular migrations with the installed version of Angular. I reached for the following path. ./node_moduels/@angular/cli/bin/ng.js This is long and verbose. Finding the executable in different system is task on […]

Categories
Java Script Tutorials

You might not need lodash

This article is also available in Urdu I found a year old issue for my personal project that is to Remove lodash dependency I scanned the code to find following instances I am even using the es modules that are much more performant that common js and what not is out there. Let’s see how […]