Category "angular"

Angular debug in VS Code - Breakpoints unbound

I'm trying to debug my Ionic/Angular project in VS Code, but once I start the debuging mode, all my breakpoints turn grey and become unbound. This is my launch.

override injection token in unit test

I have a simple service with an Injection token that is used to provide some kind of configuration for the service. It's all working as expected. Although I was

How to change primary color for Prime NG

How can I change default primary color for primeNG (saga-blue theme) ? changing --primary-color doesn't help, because in node_modules/..../theme.css elements ar

Update a single property of local JSON file using put call in Angular 8

I want to update my JSON file which I have placed in my assets folder, so If I am updating just one property of my JSON object so it should update that property

Update a single property of local JSON file using put call in Angular 8

I want to update my JSON file which I have placed in my assets folder, so If I am updating just one property of my JSON object so it should update that property

Can we control ViewEncapsulation.None from affecting the other components in the angular application?

@Component({ ... ... ... encapsulations: ViewEncapsulation.None }) when i use encapsulation like that it conflicts the default style in the other components i

CanActivate guards on child routes run before parent Resolve finish

I'm trying to resolve data before navigating to children routes as i have to use that data in children guard. The issue is parent resolver, resolves data after

ERROR Error: Cannot find control with path: 'products -> Quantity'

When I add one product in my form, show this error. My code ts: this.products = this.ps.getProduct(); this.addform = this.fb.group({ 'invoice_number': new F

Error: Cannot resolve type entity i10.BidiModule to symbol while building angular Lib project Angular 13

I am facing Error: Cannot resolve type entity i10.BidiModule to symbol while building angular Lib project. There are 2 other lib projects which are building fin

Angular Micro front end

I am trying to build a micro front end application with Angular 8. I am not able to find any support in Angular official site. Can some one please tell weather

Get Angular formArrayName Index Values in Template

Need help on accessing Angular formArray object values in the template. I could add and remove items from the formArray group MINIMAL EXAMPLE Component File

Angular material table sticky headers not working as expected

I forked the example on angular material table with sticky header and I added more data. I see that the headers are not sticky. Stackblitz here Anyone knows ho

WebOTP API over web Angular 13 can't retrieve sms

I have Angular projects versions 8 and 13 , I need to implement an automatic OTP retrieval when using mobile in Chrome 99.0.4844.88. async otpRequest() {

Ineffective mark-compacts near heap limit Allocation Angular 8 - JavaScript heap out of memory

42% building 274/275 modules 1 active ...\src\index.js??extracted!D:\Clients\app\node_modules\sass-loader\lib\loader.js??ref--15-3!D:\src\styles.scss <

Okta sign up responses with E0000060 error code

I'm configuring authentication with Okta service. I'm using angular framework and okta signin widget. I also added feature flag to my OktaSignIn object and conf

Angular App Not Working When Moving to Python Flask

Not sure what information to give so will do as much as I can. Currently have an Angular app sitting on IIS and using Classic ASP. All works fine. There is a dr

AngularTS: Alernative to ComponentFactory

I recently updated the angular version and packages of my old project to the latest version and I am currently working on updating deprecated uses. Below is the

Angular MatPaginator doesn`t get initialized

I have 2 components. Both have mat-table and paginators and pagination is working for one component and not working for the other component though the code is s

Is is possible to use OpenCV.js with Web Worker in Angular?

I'm trying to use OpenCV.js in web workers in Angular. My project needs to conduct multiple graphic computings at the same time, which would take long time. But

ng zorro table with pagination

I am having an issue ng zorr table with pagination. Uing pagination with seperate component like below <nz-table #dynamicTable [nzScroll]="