Edit: My Jest was not setup on my Angular project properly. so if you are experience this then your Jest was not setup properly, if anyone has a good guide on s
From version 13.0.0 there will be a .angular folder generated in root which is ignored by git containing a cache folder which caches builds. How can I remove (o
Hi I am writing unit test case for my angular code. I am trying to update textbox in gridview. Below is my gridview code. <input *ngIf="editing[rowIndex + '
In one of my API's I mostly return a result (let's say paged 50 results) as one whole in an json array like so: [{},{},{},{},{},...] I was wondering if there
I'm trying to fetch data from firebase, but facing an error "Property 'subscribe' does not exist on type 'OperatorFunction'" any idea? whats missing here
Created a table grid using and sometimes the vertical or horizontal lines are not showing up. When I change the zoom percentage or refresh the page or scroll t
I am trying to write unit test cases for registration component in my project, but when I try to access a input ele by ID to test it's placeholder which is in t
I am using template driven form and am trying to set the value of the form elements based on some object properties, however i face the following on doing so.
I'm currently building a quiz app which uses a component to create a widget using which we can embed to a 3rd party website. This widget GETs
I have an Angular 5 project that uses ngrx/store. The project consists of an application and a shared library that the application uses. Up until today, we had
I am pulling an array of data from database and displaying it with a simple table.What i am trying to do is adding a pagination feature to this table.For exampl
Problem I have a Angular 6.1.10 web app. I want the width of the mat-select list options to be automatic and adapt to the widest option in the options list. See
I'm using gridster2 to create a table plan for a reservation project. I've created a sample dashboard but when I run the project it only shows the grid not the
I want to get the id value of the selected product in my Angular 12 project, I used NgModule for this, but unfortunately it does not work. What is the reason fo
I am trying to call an API from Angular but am getting this error: Property 'map' does not exist on type 'Observable<Response>' The answers from this si
I need to allow to only write in an input numbers and optionally 1 comma and 2 decimals. Example of right inputs: 123 123,22 I've tried this directive I fou
I'm doing a big Angular 7 project for myself and I want some background music in it. So I use this: <audio id="audio" *ngIf="ship.dock != true" autoplay="t
In one of my Angular 2 routes's templates (FirstComponent) I have a button first.component.html <div class="button" click="routeWithData()">Pass data an
guys! Ran into interesting behaviour when using angular youtube player(ngx-youtube-player ). The video displays perfectly fine when app is running on localhost,
I tried to make a scroll for a dialog in reposition strategy, but it doesn't work for me. const scrollStrategy = this.overlay.scrollStrategies.reposition(); co