Category "angular"

Angular double curly braces expressions being executed multiple times on mouse down and up

In our Angular app, given code like the following: <div>{{ aGetProperty }}</div> <div>{{ aMethod() }}</div> Whenever I click anywhere

TypeError: ctx.product is undefined

Help ! I'm getting the following error from my Angular (material) application: TypeError: ctx.product is undefined my service:product.service.ts @Injectable

Angular 10: Import using module alias not resolved / Path Mapping not recognised in VSCode

So I updated a project that was in Angular 8.2 (a project template) to version 10 and followed the instructions from https://update.angular.io/ and everything w

Angular serve library

In latest versions of Angular cli, we can use ng g library lib-name command to create library. As mentioned in the Angular docs : ng serve <project> An

How can I fix scoring for multiple-answer questions in my Angular quiz app?

For the multiple-answer questions, ALL of the correct answers should be selected in order for the score to increase, not just one correct answer. If one correct

ngx-chart does not apply card number style

am using the ngx-charts library to represent information, I need to use a specific chart but the style does not fit the same as the example that I present below

Angular 7 Sorting on Custom DataSource

I've got a custom DataSource that I've created in my Risk component to reach out to an API, retrieve a list of Risks and display them in a table. The table disp

Value is getting empty after using jquery nice select plugin in angular

I have a form select in reactive form which works fine when no external plugins use. I used jquery nice select plugin and this time i discovered that it's getti

How to generate a side-by-side view of a Google-translated webpage in Angular

We would like to embed Google-translated webpages in our Angular application using a side-by-side view, rather than just a link. For example, https://www-amazon

angular 7 TypeError: Cannot read property 'hasOwnProperty' of undefined

Yes there are dozens of occurrences of similar questions here on SO, and that's kind of the problem. They're all so generic as to be unhelpful. I understand w

Getting Warning: Accessing non-existent property 'aaa' of module exports inside circular dependency

I am receiving Warning: Accessing non-existent property 'aaa' of module exports inside circular dependency while i import an module inside myfile. file1.js cons

angular 13 form validation dynamic input textbox show error on touch

angular 13 form validation dynamic input textbox validation I'm adding input text boxes dynamically. But form validations are showing by default when I click ad

How can I prevent navigation when a button is clicked within a table row that has a routerLink?

I have an angular material table that has the following structure. <table mat-table [dataSource]="myTable" matSort> <ng-container matColumnDef="colu

Get value from radio button Angular Material Dialog

I have Angular Material dialog , where I updating table clicking change status. I need to get value from radio button in my dialog Here is full working exampl

Ionic invalid package name __ngcc_entry_points__.json

I'm almost finished developing my application with ionic and angular. Unfortunately, I'm totally stuck. I can't build my application (on android) anymore. Here'

Currency Pipe not found error inside the ionic 5 component

I'm using a currency pipe inside my page module without any issues. However, it shows a 'not found error' when using it inside a modal component. example usage

Angular CLI command issue: "Unknown option: '--spec'"

I am running this command: C:\Users\Murali\my-first-app>ng g c abcde5 --dry-run -t -s --spec=false I am receiving the following error: Unknown option: '--

How to check which changedetectionStrategy is used in component

Is there a way to find out which changedetectionStrategy is actually used by components. I have a very large angular application which uses onPush on the outer

Angular material slide toggle capturing state

I've got a fairly basic slide toggle. I'd like to perform an HTTP call once the slider has been toggled and in case my HTTP call fails, revert it back to the in

ng-bootstrap Datepicker defaulting the navigation year to 10 years before the current date

I believe the default behaviour is to default the Year navigation to the current year with 10 years prior as the minimun date and 10 years forward as the maximu