So I want to get all the images in my component in an array, so I am using Angular's @ViewChildren which returns a QueryList of ElementRef: @ViewChildren('img
I'm developing the front-end of a crud application on angular, and i got this error when passing an array: ERROR Error: NG0900: Error trying to diff '[object O
I have an angular SSR app that causes memory leaks on the server it keeps on increasing memory on the server when the application is used and opened by many use
Basically I'm trying to inflate BehaviorSubject<[]> with array of data which will be loaded in chunks. BehaviorSubject<[]> will be added with new c
I have a ngrx/store (v2.2.2) and rxjs (v5.1.0) based application that listens to a web socket for incoming data using an observable. When I start the applicati
I made an enum with Typescript to use in MyService.service.ts MyComponent.component.ts and MyComponent.component.html. export enum ConnectionResult { Succ
I'm trying to implement a solution that execute the following steps: Check if a condition is valid with a filter. Check if Ctrl is pressed and execute some fun
I have a service having a breakpoint observer. But how we can trigger window resize event for breakpoint observer to cover all branch and lines. export class B
I have a service having a breakpoint observer. But how we can trigger window resize event for breakpoint observer to cover all branch and lines. export class B
I am using Chartjs for my project. Different versions I am using are: ChartJS 2.9.3, Chartjs-plugin-streaming 1.8.0, moment.js 2.24.0,chartjs-adapter-moment 0.1
I am building a webcomponent based application and I am eliminating unnecessary code in my bundles. To compile es5 elements, I've added the webcomponentsjs poly
I recently released a new component and it seems to be triggering change detection multiple times a second: // some debugging code ngDoCheck() { consol
I'm trying to write a unit test to see if the base class method gets called Here is the base class export abstract class Animal{ protected eatFood() {
I want to add a floating placeholder for the select tag. But the select tag is choosing the fist option by default. I don't want to put an extra option without
Got this Error after running webpack. Webpack is installed globally and I'm running Node PS D:\Projects\ng2-admin-master> ng serve Cannot find module 'webpa
I have a problem while getting the value from the store. The operation hangs. I try to get the data in the following way: async onInit(params: Params) { //
I am trying to implement Sign in with Apple functionality in my Ionic app. In order to do that I am using the plugin: https://github.com/capacitor-community/app
I am using angular2-image-gallery. It is causing me an error on production (also locally) about importing twice BrosweModule from angular. In my local build, I
This is my first question here on Stack Overflow, I've been bashing my head with this problem for a few days and can't seem to find anything related to what's h
Need to close the payment interface if the payment fails. Now it showing error instead of close. paymentRequest.on('paymentmethod', function(ev) { console.l