Category "angular"

How to display the currency symbol to the right in Angular

I have to display Euro currency like this : 583 €. But with this code: {{ price | currency:'EUR':true }} I get €583, is there any option in Angula

Can't start Angular application

Within the last few days, we have been encountering the following errors (and there doesn't seem to be match find in Google search): npm start ng serve Compil

Angular 2 can't find a component declared in my feature module

I'm having a tough time getting modules to work in Angular 2. I have created a plunk that demonstrates the problem. In the plunk, you'll see I have app.module.

Cannot assign to 'value' because it is a constant or a read-only property. Angular 6

I am trying to set a value to a Mat input using FormControl <input name="contact" matInput [matAutocomplete]="contactAuto" [formControl]="myControl" #conta

CORS is somehow stopping my Angular and Nestjs apps from communicating

I'm building an app with Angular and NestJS using NGXS for state management. I got everything set up and served my application and got this error in the consol

In order to allow non-dict objects to be serialized set the safe parameter to False

I create realtime chat application using websocket frontend(angular) backend(Django).. i want to store messages in to db(mySql)..when i trying to store message

node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'

We are facing issue as mentioned in title. When we are doing ng build than its shows an attached SS error to us. WE have tried all possbile way as already share

Lazy loading Angular 13+ modules without the deprecated compiler

I've worked extensively with loading and instantiating Angular modules. (without the router) But now with Angular 13 I'm seeing deprecations for the usual compi

Cordova Android Build Dose Not Consider Some Of my Styles

Hello Guys I am using angular for developing an application my output on web is totally fine but when i use cordova to build for android its seems like some of

Codility like button angular

Hi I have a problem with the codility exercises on the square, I am trying to do something 2 days and nothing anyone has a solutions Build a like button compone

How to mock Pipe when testing Component

Currently I am overriding providers to use mocked services like this: beforeEach(inject([TestComponentBuilder], (tcb: TestComponentBuilder) => { tcb.ove

Cordova Android Build Dose Not Consider Some Of my Styles

Hello Guys I am using angular for developing an application my output on web is totally fine but when i use cordova to build for android its seems like some of

Angular 4 template variable focus

I have this cell template that shows the value of an Object into a span element, or, if the row is being editing, shows the value inside an input. <ng-templa

Hosting Angular 6 application to firebase

I am trying to hosting Angular 6 application in firebase. Aftter making a project in firebase , i followed the every step in firebase hosting documentation. h

Angular: HttpClientModule import error (could not be resolved to an NgModule class)

I was trying to build a simple app with crud on fake json server but i can't import HttpClientModule Here is error message from VS Code : ERROR in node_modul

angular 2 (click) passing iteration variable and [class.selected] passing function

The following is taken from ng-book 2 @Component({ selector: 'products-list', directives: [ProductRow], inputs: ['productList'], outputs: ['onProduct

How to bind autocomplete data from Ngx-bootstrap typeahead to input fields

I have the following typeahead that returns data <input [(ngModel)]="model" [class.is-invalid]="searchFailed" [inputFormatter]="inputFormatBandListValue"

The pipe ' ' could not be found angular2 custom pipe

I can't seem to fix this error. I have a search bar and an ngFor. I am trying to filter the array using a custom pipe like this: import { Pipe, PipeTransform }

Angular TSLint - Cannot find builder "@angular-devkit/build-angular:tslint"

When I try to run command ng lint --fix cli throws this error: An unhandled exception occurred: Cannot find builder "@angular-devkit/build-angular:tslint". See

Rxjs - resubscribe to unsubscribed Observable

I'm using a Service to "ping" my server every 2.5s, returning the response time from my server. Therefore I am using observables. I am also using angular 2 an