Category "angular"

Apply css class to a <div> generated by an <ng-template> within the <ngx-datatable-column>

I am trying to apply display: flex property to the parent <div> of my <span> but since the is generated by the ng-template of the ngx-datatable-col

Angular unit test calling readonly BehaviorSubject

I have a angular class implemented ControlValueAccessor interface too. I need to have 100% coverage. Please help me to cover the remain. Line 20, 35, 36 need to

How can i await for file to upload so i can upload next image with params

I am using Drag and Drop file to upload multiple images. ngx-file-drop How to use with async await to upload images because i want to send params to next image

Module not found: Error: Resolving to directories is not possible with the exports field (request was ./)

I upgraded angular from v11 to v12. I am getting this error and I dont know why. there are no changes in build configuration or tsconfig.

Angular revert from 13.3.8 to 13.3.7

When I run : ng v I get the version in the screenshot. Where does "Angular: 13.3.8" come from and how can I revert it to 13.3.7 ? Also, where do the Packages c

Use an observable inside of an interceptor

I want to write an interceptor to add an auth token to all the requests. My token comes from a lib, angularx-social-login, that only provides an Observable to g

How to remove the selected data from saved data when we click on button in a selected one

In my application I have saved the data when we click on it(we can add the multiple data by entering some data and save the multiple data by clicking the save b

Stop cellRenderer to apply on all the rows in angular

I am trying to make a custom component in ag-gird which consists of two radio button. I wanted to make selection for each individual row, so I have tried both c

Angular Ionic Capacitor | Why is Even a Simple Animation Laggy

I'm building a simple Ionic Capacitor app with Angular. The app includes a few pretty simple animations, and I'm stunned to learn these animations are incredibl

Restangular equivalent in Angular [closed]

I am looking into migrating our application from angularjs (1.6.x) to modern Angular. One thing I am not finding is a recommended replacement

Ionic 6 - localization of Google Maps API

I am using Angular 13 and Ionic 6 to add Google Maps API V3. Here is a simple example provided by Google to add the map using TypeScript. When using Ionic, I am

Assign a documents values as a <Type>

Making an Observable <Hero[]> out of a collection works perfectly and gives me access to all its documents, but I am unable to assign individual documents

Process and store data angular 13 [closed]

I'm working on angular 13 application where I need to show real time or past 24 hours data for different KPIs. The flow is when app loads, it

How to avoid "timeout when waiting for 3rd party check iframe message" with Keycloak and Angular

I'm trying to securize an Angular app with a Keycloak server. I've followed some tutorials that give more or less the same instructions in order to do so, but I

main.js file size is too high - Micro Front End with Single SPA

I am trying microfrontend using Single SPA Framework, i span one angular application and did the Single SPA Configuration. When i try to boot the angular applic

Cypress can't drag a custom angular cdkDragHandle

I'm losing sanity over this one. I have one drag and drop list in my app with a custom drag handle and cypress seems to be unable to drag it. Manually when the

how to playback audio blob from Spring boot App

I am storing an audio blob(recorded voice) in angular and then I am calling a spring boot API to store it in azure blob storage as so: submit(){ const

Ionic Dark Mode - Force Light/Dark and System theme

I would like to add a toggle for my Ionic project that controls the theme of the entire application. The toggle can force a light mode/dark mode irrespective of

Close active modal

I have opened multiple modals in my angular project. I have made a modal component as wrapper for the content. Now I want to close the active modal instead of c

Angular_Improper_Type_Pipe_Usage in checkmarx scan

We are using a tool called checkmarx to scan code vulnerability. I am getting Angular_Improper_Type_Pipe_Usage warning for the below Angular code in checkmarx s