Category "angular"

How to bind the dropdown lists based on selecting the items from the dropdowns

I have one dropdown which I have to show this dropdown from constant.ts file And In second dropdown I have to show the dropdown based on the selecting the first

Conditionally applying css to mat form field

I am working on an angular application and I am using mat form fields in it. For changing color of botttom border of mat form field I am using mat-form-field-ri

Angular Compile Error: NG6001: The class is listed in the declarations of the NgModule 'AppModule', but is not a directive, a component, or a pipe

App fails to compile with error error NG6001: The class NavigationMenuItemComponent is listed in the declarations of the NgModule AppModule, but is not a dire

What is the difference between ng update and npm update?

Would someone please explain the difference between ng update in Angular 6 and npm update?

A ServiceWorker intercepted the request and encountered an unexpected error

I recently implemented Angular service workers in my web app and when I reload my app in some routes, I get this error and the site stucks in app-shell: Failed

Stack elements under each other inside ion-item

I am trying to stack items vertically under each other inside an ion-item: <ion-item> <ion-item-divider style="width: 100%;" item-content>

Is it possible to build an Angular app without embedded styles?

My company is going through a re-branding and it involves some color changes to our app. Most of this is just tweaking SCSS variables, but i'd like to be able

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