In this scenario we have no connection between two components and we want to implement EventEmitters via two different components. If you have parent/child scenario you can useĀ @Input, @Output system of angular (explained in other places). In Angular, communication between components is crucial for building dynamic and interactive applications. While […]
Angular
Angular is an open source framework for web application development, mainly developed by Google, based on typescript, a super-set of javascript.
Mastering custom validation in Angular with Reactive Forms
Angular’s Reactive Forms offer a robust framework for building dynamic and data-driven forms and custom validation. While built-in validators like required and email handle common scenarios, complex applications often require validation rules. This article delves into creating custom validators in Angular, empowering you to tailor form validation to your specific […]
Angular recursion pipe
Sometimes it can happen that the data comes to us instead in the form of a tree, with objects that contain lists of other objects, which in turn contain lists of other objects.In this case, we can think of starting with the recursion on the data, to modify them in […]
How to download a file with Angular
There are some methods to download a file with Angular. One is to obtain a link that leads to a base64 downloadable file, usually provided by a service.The first method is based on the classic but new generation html.We provide for the generation of the necessary components and services. In […]
Tips: test PWA Angular apps locally
The Angular team has provided a quick command to implement the so-called PWA app. Now, however, the classic ng serve command does not activate the potential of this type of app.One way to activate service workers is to use an alternative local web server that simulates a real online web […]