Category "angular"

how to integrated riot.js with Angular 9

I am working on a project with Angular Framework and I need to integrate another project written in Riot.js. And this is really hard for me. I hope to receive h

How to display Angular9 change detection process in browser?

I have a complex component with many @Input() and async process. I want to optimize the component, thus intend to analyze Angular4 change detection cycle upon m

Angular AOT compiler can't find project-relative paths within components

I'm in the (painful) process of AOT-ing an app I've been making, but have hit a bit of a hurdle when it comes to specifying URL's for the components. Works in A

Why ngOnChanges() does not trigger when @Input() update the data Angular 8?

parent.component.html <parent-comp [data]="mydata"> </parent-comp> parent.component.ts this.service.abc$ .takeUntil(this.ngUnsubscribe.asOb

Single page application page refresh

In Single page application like web application using Angular 2, we manage the navigation to different pages using routes. But when page is refreshed in browser

Preventing Angular from running when accessing static files with no extension

I have an Ionic/Angular PWA for a project, which has a native (Ionic Cordova) app as well for mobile. On the app we need to accept deeplinks that will have the

ng-select dropdown behind other elements

I use ng-select with Angular 4 and Bootstrap 4. The dropdown menu goes behind my datepicker (ng-bootstrap). I do not know how to solve this problem.

Ng add @nrwl/workspace throws Cannot read property 'paths' of undefined

I just make a project with the angular cli and then run the command "ng add @nrwl/workspace" to change it to a nrwl workspace. But I am getting the following er

Angular Material: making a mat-card fill an entire mat-grid-tile

I want to use mat-grid-list to create a grid list layout in which each mat-grid-tile contains a mat-card that fills the entire tile regardless of the card's con

Angular 4 - Select default value in dropdown [Reactive Forms]

In Angular 4, I have the following configuration defined in a json config file. countries: ['USA', 'UK', 'Canada']; default: 'UK' I need to display these i

Angular4 CORS header contains multiple values

please could somebody help to resolve issue: backend spring application web.xml <filter> <filter-name>corsFilter</filter-name>

how to best conditional template show in angular 4

currently, i am practiced angular 4. when a normal user view this then show public content When A Registered user enter the web page then show edit or some cont

How to unit-test a valuechange of mat-autocomplete filtered search result in Angular?

I use the mat-autocomplete functionality for searching in projects and want to test if entering a search string, which cannot be found in the project list, lead

Styling mat-select in Angular Material

How to style mat-select's panel component. From the docs I get that I need to provide panelClass so I make it like this: <mat-form-field> <mat-sele

Accessing primary color which is defined custom theme inside component's scss

I have defined a custom theme in angular 4 and want to use this in one of my component's scss file Basically I want background of specific mat-grid-tile to be

Angular - ng: command not found

I'm trying to learn Angular and my knowledge in terminal is beginner. After I installed Angular and then type ng new my-project. I get the response ng: command

Angular 12 breaks absolute paths for templateUrl and styleUrls

I am using Angular 13, upgraded from Angular 11 but after upgrading to Angular 12, the absolute paths stopped working for templateUrl and styleUrls. When I was

Can't bind to 'options' since it isn't a known property of 'p-dropdown'

Getting this error when trying to add a primeNG dropdown to userform.component.ts, I've referenced this but to no avail as I already have this fix immplemented:

How to close a mat custom overlay on clicking outside when there is no backdrop?

I have created a dropdown panel using custom overlay from material, I need that if I set the property hasBackdrop: false, overlay should close if I click outsid

how to generate multiple html files with angular-cli builds?

I have an angular project with manual setup (no angular-cli) and configured the build to generate multiple html files using HTML Webpack Plugin. Now, I am plann