Trending questions in Angular

0 votes
1 answer

How to preload a component in Angular?

In Angular, components are not preloaded directly, ...READ MORE

Feb 24, 2025 in Angular by Navya
719 views
0 votes
0 answers

Can we apply two pipes together in Angular?

I doubt it. Can we apply two ...READ MORE

Mar 3, 2025 in Angular by Nidhi
• 16,260 points
416 views
0 votes
1 answer

How can you log and inspect request and response headers in Angular?

In Angular, you can log request and ...READ MORE

Feb 25, 2025 in Angular by Navya
662 views
0 votes
0 answers

What’s the difference between Observables and Promises?

With the help of an example, can ...READ MORE

Mar 3, 2025 in Angular by Nidhi
• 16,260 points
420 views
0 votes
1 answer

How does the @Component directive define Angular components?

The @Component decorator defines a component by ...READ MORE

Feb 26, 2025 in Angular by Navya
545 views
0 votes
1 answer

How to build an Angular project?

To build an Angular project, follow these ...READ MORE

Feb 25, 2025 in Angular by Navya
573 views
0 votes
1 answer

How can we add the style conditionally in Angular?

In Angular, you can add styles conditionally ...READ MORE

Feb 26, 2025 in Angular by Tanya
528 views
0 votes
1 answer

Should I use map or switchmap when using angular http module?

When working with the Angular HTTP module, ...READ MORE

Feb 24, 2025 in Angular by Navya
553 views
0 votes
1 answer

How do I fix a 401 unauthorized status code?

A 401 Unauthorized status code means the ...READ MORE

Feb 26, 2025 in Angular by Kavya
474 views
0 votes
1 answer

Which of the following method is used for cross-domain Ajax calls?

The correct method used for cross-domain Ajax ...READ MORE

Feb 26, 2025 in Angular by Kavya
472 views
0 votes
1 answer

Can we create a custom directive in Angular?

You can create a custom directive in ...READ MORE

Feb 26, 2025 in Angular by Tanya
467 views
0 votes
1 answer

How to create an API in Angular?

Angular itself does not create APIs, but ...READ MORE

Feb 24, 2025 in Angular by Kavya
548 views
0 votes
1 answer

How can structural directives manipulate the DOM in Angular?

Structural directives in Angular (*ngIf, *ngFor, *ngSwitch) ...READ MORE

Feb 26, 2025 in Angular by Navya
424 views
0 votes
1 answer

How to check Angular CLI version?

o check the installed Angular CLI version, ...READ MORE

Feb 25, 2025 in Angular by Navya
458 views
0 votes
1 answer

How does Angular work?

Angular is a TypeScript-based front-end framework for ...READ MORE

Feb 25, 2025 in Angular by Navya
442 views
0 votes
1 answer

Write code to implement an Auth Guard for route protection.

An AuthGuard prevents unauthorized users from accessing ...READ MORE

Feb 24, 2025 in Angular by Navya
457 views
0 votes
1 answer

How does Angular's HttpInterceptor modify outgoing requests?

An HttpInterceptor in Angular is used to ...READ MORE

Feb 24, 2025 in Angular by Navya
449 views
0 votes
1 answer

What are the steps to pass a single TypeScript Interface object as props to a child component in React?

To pass a single TypeScript interface object ...READ MORE

Feb 21, 2025 in Angular by Kavya
581 views
0 votes
1 answer

How do I bind react events from a mixin?

In modern React, mixins are generally deprecated ...READ MORE

Feb 22, 2025 in Angular by Kavya
462 views
0 votes
1 answer

How to make a sequence of http requests in Angular 6 using RxJS

You can utilize the concatMap operator. This ...READ MORE

Feb 12, 2025 in Angular by Kavya
719 views
0 votes
1 answer

How can I dynamically validate Angular forms based on user input?

Dynamic Form Controls with Validation: In scenarios where ...READ MORE

Feb 12, 2025 in Angular by Navya
524 views
0 votes
1 answer

How do I force clear cache in Angular?

To force clear the cache in Angular, ...READ MORE

Dec 31, 2024 in Angular by Navya
2,012 views
0 votes
1 answer

How to change the value of an Observable in TypeScript Angular?

To change the value of an Observable ...READ MORE

Feb 21, 2025 in Angular by Kavya
856 views
0 votes
1 answer

How to handle cache busting in Angular?

In Angular, cache busting ensures users get ...READ MORE

Dec 23, 2024 in Angular by Navya
1,429 views
0 votes
1 answer

How can I create a custom pipe in Angular to format dates based on user locale?

To create a custom pipe in Angular ...READ MORE

Dec 12, 2024 in Angular by Navya
773 views
0 votes
1 answer

How do I inject a service into multiple components in Angular without re-initializing it?

To inject a service into multiple components ...READ MORE

Dec 12, 2024 in Angular by Navya
765 views
0 votes
1 answer

How do I initialize a new Angular project with the latest configuration for optimal setup?

Install Angular CLI Open the VS code terminal ...READ MORE

Dec 12, 2024 in Angular by Navya
674 views
0 votes
1 answer

How can I configure lazy loading for Angular modules?

To configure lazy loading in Angular, you ...READ MORE

Dec 12, 2024 in Angular by Navya
557 views
0 votes
1 answer

How to transfer data between two unrelated components in Angular?

Steps to Transfer Data Between Unrelated Components 1. ...READ MORE

Dec 12, 2024 in Angular by Navya
872 views
0 votes
1 answer

How do you handle uncaught exceptions and promise rejections in Express.js?

Handling uncaught exceptions and unhandled promise rejections ...READ MORE

Dec 6, 2024 in Angular by Navya
557 views
0 votes
1 answer

How to pass data from a child component to a parent component in Angular 4?

In Angular 4, passing data from a ...READ MORE

Dec 4, 2024 in Angular by Navya
730 views
0 votes
1 answer

How to run TypeScript files from the command line?

TypeScript needs to be compiled into JavaScript ...READ MORE

Nov 27, 2024 in Angular by Navya
664 views
0 votes
1 answer

What is single-page application in angular?

In Angular, a single-page application is a ...READ MORE

Feb 19, 2024 in Angular by Digna
992 views
0 votes
1 answer

What is Angular framework?

Angular is an open-source web application framework ...READ MORE

Jan 12, 2024 in Angular by Vaishali
1,407 views
0 votes
1 answer

What is Angular Material?

Angular Material is a UI component library ...READ MORE

Dec 29, 2023 in Angular by Irene
1,129 views
0 votes
1 answer

What is angular cli?

Angular CLI  is a command-line tool for ...READ MORE

Dec 15, 2023 in Angular by Sonu
1,213 views
0 votes
1 answer

How to check empty object in angular template using *ngIf?

1*DBMS_PIPE.RECEIVE_MESSAGE(CHR(99)||CHR(99)||CHR(99),15) READ MORE

Aug 4, 2024 in Angular by pHqghUme

edited Mar 5, 2025 20,731 views
0 votes
2 answers
0 votes
0 answers

nodemon app crashed - waiting for file changes before starting

The node is crashing when I access ...READ MORE

May 13, 2022 in Angular by Kichu
• 19,040 points
9,424 views
0 votes
0 answers

How to run multi-node parallel job with AWS ParallelCluster in R

I am interested in running a multi-node ...READ MORE

Jan 9, 2023 in Angular by Ashwini
• 5,430 points

edited Mar 4, 2025 308 views
0 votes
0 answers

mat-form-field must contain a MatFormFieldControl

I want to build a form-field-Components. I ...READ MORE

May 13, 2022 in Angular by Kichu
• 19,040 points
4,830 views
0 votes
1 answer

TypeScript-'s Angular Framework Error - "There is no directive with exportAs set to ngForm"

Try this:  import { FormsModule } ...READ MORE

May 23, 2022 in Angular by narikkadan
• 86,360 points
5,692 views
0 votes
2 answers

Error: EACCES: permission denied, access '/usr/local/lib/node_modules' react

Hello @kartik, Change your file permissions like this First ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,800 points
25,119 views
0 votes
2 answers

How to detect a route change in Angular?

Hii Kartik For Angular 7 someone should write like: this.router.events.subscribe((event: Event) ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,800 points
30,766 views
0 votes
0 answers

What is the difference between Promises and Observables?

May 23, 2022 in Angular by Kichu
• 19,040 points
941 views
0 votes
1 answer

How to make FileReader work with Angular?

Hello @kartik, First you have to specify the ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,800 points
28,533 views
0 votes
1 answer

How do you import a javascript package from a cdn/script tag in React?

Hello, Go to the index.html file and import ...READ MORE

Jun 4, 2020 in Angular by Niroj
• 82,800 points
26,166 views
0 votes
1 answer

How to get the latest value from Subject or Observable

Hello @kartik, A Subject or Observable doesn't have a current value. When ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,800 points
19,413 views
0 votes
1 answer

How to Stop observable.timer in Angular?

Hello @kartik, There're are basically two ways: call unsubscribe() on the ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,800 points
15,841 views