angular Articles

This are all our articles tagged with:
angular

by admin

“Sticky” web components

i have a container with 2 inner window components The two inner windows are draggable, … Read more “Sticky” web components

by admin

angular file uploader methods for http request

I’m trying to use angular-file-uploader and upload a file. in afuConfig, I want to set … Read more angular file uploader methods for http request

by admin

Get value from array of objects as RxJS observable

I have an array of objects myData$ which is an BevahiorSubject (from the RxJS library). … Read more Get value from array of objects as RxJS observable

by admin

Getting Started with Custom Structural Directives in Angular

Introduction Angular comes with many built-in directives. Some of them (eg. NgIf, NgModel or FormControlDirective) … Read more Getting Started with Custom Structural Directives in Angular

by admin

ng lint to show the console output while performing the task

I have recently migrated from Angular 12 to 13 and implemented the ESLINT and prettier. … Read more ng lint to show the console output while performing the task

by admin

The Comprehensive Guide to Angular Performance Tuning

It’s not uncommon to see Angular apps slow down over time. Angular is a performant … Read more The Comprehensive Guide to Angular Performance Tuning

by admin

buy x get free y formula

Trying to find out how to formulating buy x get y free. Example buy 10 … Read more buy x get free y formula

by admin

Styling nested components with SASS variables

I have 3 custom components. Let’s call them Button, Row & Modal Each of these … Read more Styling nested components with SASS variables

by admin

Adding form validation to an Angular application

Introduction Angular is a development platform for building WEB, mobile and desktop applications using HTML, … Read more Adding form validation to an Angular application

by admin

My golden rules for Angular intercomponent data communication

These are some rules that I have lazily picked up over the past four years … Read more My golden rules for Angular intercomponent data communication

by admin

Angular Iframe is loaded correctly, but it is not working in CHROME

I have embedded an iframe in Angular like this @Component({ selector: ‘a-selector’, template: `<iframe *ngIf="true" … Read more Angular Iframe is loaded correctly, but it is not working in CHROME

by admin

TypeError: undefined is not an object (evaluating ‘ref.onSnapshot’)

Angular and Firebase Firestore throws TypeError: undefined is not an object (evaluating ‘ref.onSnapshot’) this.fbstore .collection(`claims`, … Read more TypeError: undefined is not an object (evaluating ‘ref.onSnapshot’)

by admin

How to set a selected value in mat-select?

I am listing a list of values in mat-select. Here is my code; <div class="row"> … Read more How to set a selected value in mat-select?

by admin

how to pass data to a form in another component in Angular

I have a form in a seperate component which looks like this: <form [formGroup]="form"> <div … Read more how to pass data to a form in another component in Angular

by admin

how to get the last element of array and save in variable

I am trying to save the last element of an array which gets its values … Read more how to get the last element of array and save in variable