I have the below code in the constructor of my component this.performanceKpaId = parseInt( this.route.snapshot.paramMap.get('id') ?? '0', 10 ); // get enti
Is there a way to use an angular library as an alternative to single-spa utility module, imported with systemjs in the root application? I want to create a serv
I am working on Angular Syncfusion for allowing user to show and book appoinments and following below link https://ej2.syncfusion.com/angular/documentation/sche
I need to serve an angular app with specific --host flag and --port 80. I added the host to my /etc/hosts file but when i use command "ng serve --host local.xxx
I am getting this error about Cannot find name 'Record' is that a package I need to install for this class? Severity Code Description File Project Line
I have an overlay component that appears when a user clicks on certain things in my page, and in this overlay it gives a warning and 2 buttons, one for yes and
I have a piece of code of custom component. Here are related code: @Component({ selector: 'scrs-tab-container', template: `<ng-contnet></ngcontent>`
I'm using Jest to test my Angular app (using Nx workspaces). I have a component that uses a service that I'm trying to mock. Here's the code: myDummyService.per
i am trying to import scripts from importScripts("https://www.gstatic.com/firebasejs/9.1.0/firebase-app.js"); importScripts("https://www.gstatic.com/firebasejs/
I am trying to get the document.getElementsByClassName('side-nav-link-ref'); elements in my angular html view and It keeps returning empty. I’ve narrowed
I have create one html component to create tabs using template to render the html, but here I want to make active specific tab from my code. I am using template
I'm trying to close a parent mat-dialog depending on the answer to a child confirm mat-dialog in Angular. The child confirm dialog says "You have unsaved chang
I am creating an Angular 12 app, with Material. I have a form with an checkbox array loaded dynamically from database. I need to validate that at least one chec
On Angular, I am trying to validate email using following regex - ^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.
I am having a problem performing a test on a typescript service. I have a function that returns an observable. I use .subscribe() to look at the result and veri
I wanted to check if each length of array of objects of inspectionScheduleUnitContactArtifactDto , if there is one inspectionScheduleUnitContactArtifactDto whic
I use angular in the front end where I am learning to use rxjs-websockets. In backend I use nestjs, where i want to learn to use websockets. But every tutorial
I have created a new angular app and have installed these: npm install --save @tinymce/tinymce-angular npm install --save @types/tinymce I've included the Edito
I want to display the ngx-wheel using api but I'm having trouble displaying the data. Here my Service : import { Injectable } from '@angular/core'; import { Htt
Just another day in the office, right? What once worked is no longer working. Yay! I am supporting an Angular 8 web application and attempting to kickstart loca