Category "angular"

Returning Value from inside NgRx Select

Seems a simple question but I am new to RxJs. How do I return the value from a store subscription so that it is not an observable but the actual value? I am cal

Undefined $event when trying to generate a path

To upload a picture into Firebase storage, I am creating a path for the AngularFireStorage.upload method: In the template, an input to select the file: <inpu

Bootstrap 5 navbar does expand but doesn't close on Angular project

I am using Angular 12 and Bootstrap 5 to create a SPA. I created a shared navbar component. When my navbar changes to the hamburger menu button, the navbar does

Angular lazy load with named outlet not working

I created a products folder which contains products-home.component(parent) and products-list.component(child) with named outlet. I get Error: Cannot match any

What is the benefit of using the Angular Material BreakpointObserver API over a simple Media Query?

I've been experimenting with Angular Material and found myself questioning the benefit of using the built in BreakpointObserver API over a simple media query? O

enabling lazy load for angular component

<div class="flex-container-new"> <div class="header-alert-gauges"> <div style="margin: 0px 2px 0px 26px;"> <dashbo

Update Angular paginator after filtering?

I have a custom datasource in Angular where I have implemented sorting, paging and filtering. All of them works fine but when I go to filter the data in the tab

Scroll bar is getting shortened automatically in ionic framework

while i am writing this code "{{weatherinfo.name},{{weatherinfo.sys.country}},{{weatherinfo.coord.lan}},{{weatherinfo.coord.lon}}" scroll bar shrinking automati

Can I add a function with the (click) event to my span tags that I added with the replace method?

https://i.stack.imgur.com/B5doW.png I have sentences like this, and as you can see, if the word I'm looking for is in that sentence, I put it in span tags. .rep

Ng serve throwing @angular/core/core has no exported member 'ɵɵFactoryDeclaration'

I'm getting errors stating that angular/core/core has no exported member 'ɵɵFactoryDeclaration' while I ran ng serve on angular9 project. The error I

Ng serve throwing @angular/core/core has no exported member 'ɵɵFactoryDeclaration'

I'm getting errors stating that angular/core/core has no exported member 'ɵɵFactoryDeclaration' while I ran ng serve on angular9 project. The error I

Visual Studio 2022 - Lots of errors in TypeScript Angular Project

Yesterday I created a new Standalone TypeScript Angular Project in Visual Studio 2022. After a couple of minutes playing around with it, I already got a bunch o

Although I write the necessary codes, I can't get results [closed]

Laptop text and price should appear on the blue button. Although I write the necessary codes, I can't get results <div class="card" style

How to set a delay on Error in Angular / NgRx Subscription with Interval

I would like my interval to wait 5 seconds on an error before trying to hit my service again. Much like it does on a successful call. Using Angular 12 and NgRx

How to set a delay on Error in Angular / NgRx Subscription with Interval

I would like my interval to wait 5 seconds on an error before trying to hit my service again. Much like it does on a successful call. Using Angular 12 and NgRx

Unsafe value used in a resource URL context (iframe)

Trying to pass value as iframe url from local db and and im getting error message: Unsafe value used in a resource URL context. i'm trying to display an array

Ionic: Redirect Android app after keycloak login

I have an ionic 6 app (using capacitor 3) and i am using Keycloak as authentication provider. My current keycloak version is V 14.0.0. When i test the web vers

Can we connect RabbitMq directly from Angular Application

In my current Angular project , have requirement to connect RabbitMq server queue. I have tried amqp, amqp-ts npm librarires but those are node applications. ca

Angular 13 with cornerstone - Automatic publicPath is not supported in this browser

Just upgraded our app to angular 13, managed to get all the libraries working except for cornerstone. Uncaught Error: Automatic publicPath is not supported in t

Scroll bar missing from web app and unable to scroll

The vertical scroll bar in my angular app does not appear when items on the page go beyond the view. The scroll bar was there and I don't recall changing anythi