Ayyash

Ayyash @ayyash

About: sekrab: a small piece or amount of something, especially one that is left over after the greater part has been used.

Location:
Amman
Joined:
Aug 17, 2020

Ayyash
articles - 99 total

Putting Angular Fire Firestore library to use - II

Previously we created our own Firestore getters to return proper observables, using from to change a...

Learn More 0 0Feb 4

Putting Angular Fire Firestore library to use - I

In this series, we're going to setup a project that uses a Firebase Firestore to list, create, and...

Learn More 0 0Jan 28

Angular Firebase Authentication Update: v.19

Last time we had Firebase Auth integrated at Angular 17. Here is a quick update to keep it fresh in...

Learn More 4 0Jan 21

Validation style final tweaks

To add the missing styles to make it as functional as possible, need to keep reminding ourselves of a...

Learn More 0 0Jan 17

Angular validation common functions

There are some repetitive validation functions that I would like to move for their own common file,...

Learn More 0 0Jan 15

Angular form field types

Today we are going to dig into validating all field types. We begin with the simpler ones: the...

Learn More 4 1Jan 13

Angular form validation directive

The component we created thus far is enough to make the form invalid if submitted, and show the...

Learn More 0 0Jan 7

Taming Angular Forms

Creating a form has always been a terrible task I keep till the end. And I usually just start with...

Learn More 1 0Jan 2

Upgrading to Angular version 19

There are two ways to update, using ng update directly, or creating a new application after updating...

Learn More 10 1Dec 23 '24

Replacing Angular Universal with SSR version 17.0

Angular has adopted Universal and made it a kid of its own! Today I will rewrite some old code we...

Learn More 5 2Jan 23 '24

III - Firebase For Authentication only in Angular

The middle ground is to use Firebase Auth, for authentication, and use our own API for user...

Learn More 0 0Jan 16 '24

II - Firebase User Management in Angular

To recap, we need to create a sign up process using password and Google provider. We need to keep all...

Learn More 0 0Jan 9 '24

I - Setting up AngularFire with Authentication

Previously we covered Authentication in Angular and why it was hard to wrap our heads around. To pick...

Learn More 0 0Jan 2 '24

Angular Standalone in SSR: update

[TLDR] To allow all components to be standalone and build for SSR in Angular using the...

Learn More 1 2Nov 6 '23

Displaying cacheable content with a partial component in Angular

After creating a localstroage wrapper, and a data cache decorator, let's put them together to create...

Learn More 6 0Sep 12 '23

Angular SSR Refused to set unsafe header

I've been trying to fix a bug where I was making an http call to my local host, to get list of...

Learn More 1 2Aug 29 '23

Intersection events and loose ends

We used intersection observer to add classes and lazy load images. Here are some final touches that...

Learn More 2 0Aug 15 '23

Lazy loading images upon intersection in Angular

Images are content, whether allowed on the server or not. They are usually controlled by host...

Learn More 3 0Aug 1 '23

Intersection observer directive to add and remove classes in Angular

In this series we want to create a directive, or multiple directives in Angular to handle different...

Learn More 4 0Jul 19 '23

A cache decorator in Angular

Having a decorator that caches the result of a service call is not a new quest on the web, but today...

Learn More 1 0Jun 23 '23

Homemade dialog service in Angular

Let's put all our knowledge in creating components programmatically in Angular 16 to good use. Let's...

Learn More 0 0Jun 6 '23

Providing services to programmatically created components in Angular

The last bit to investigate before we put everything together as a Dialog service is how to pass...

Learn More 3 0May 30 '23

Inserting programmatically created components with templates and content projection in Angular

Previously we tried hosting the newly created component in an HTML element, whether existing in body,...

Learn More 2 0May 26 '23

Inserting Peach component into Rose at runtime

The great Dialog component The Angular Material Dialog component is-among other things-a...

Learn More 1 0May 21 '23

Creating a component dynamically, and programmatically in Angular

In Angular 13, the ComponentFactoryResolver became deprecated. Some libraries that depended on it had...

Learn More 5 0May 15 '23

Authentication in Angular: Part V, Handling SSR

When loading a localStorage-authenticated page, the SSR version kicks in with no access to the...

Learn More 4 3Mar 14 '23

Authentication in Angular: Part IV: Redirect feature and Account extra service

Picking up as we move on, there are a couple more features we want to implement to close the circle....

Learn More 0 0Feb 21 '23

Authentication in Angular: Part III

Today let me add a proper logout, and before we move forward to more features, let's clean up and...

Learn More 1 0Feb 14 '23

Authentication in Angular: The Circular Dependency in DI issue popping its ugly head

Picking up where we left off, the first use case for our Auth service is a header token. The best way...

Learn More 1 0Feb 7 '23

Authentication in Angular, why it is so hard to wrap your head around it

By definition of an SPA: single page application, all elements on the screen are no longer part of a...

Learn More 2 0Jan 31 '23