Trending questions in Angular

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
• 834 views
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
• 1,113 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
• 1,035 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
• 1,028 views
0 votes
0 answers

How to lazy load module after api response in angular?

Can someone exlpain me with the code ...READ MORE

Mar 6, 2025 in Angular by Nidhi
• 16,260 points
• 717 views
0 votes
0 answers

How do you use forkJoin() for parallel API calls?

can you explain me with the help ...READ MORE

Mar 5, 2025 in Angular by Nidhi
• 16,260 points
• 753 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
• 806 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
• 1,094 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
• 1,060 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
• 978 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
• 970 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
• 950 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
• 986 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
• 860 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
• 933 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
• 1,042 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
• 3,299 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
• 845 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
• 831 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
• 863 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
• 890 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
• 3,524 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
• 1,110 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
• 1,668 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
• 1,555 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
• 1,441 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
• 1,389 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
• 1,327 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
• 1,511 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
• 1,338 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
• 1,395 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
• 1,251 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
• 1,509 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,973 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,712 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,881 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 • 22,187 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
• 10,187 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,440 points

edited Mar 4, 2025 • 618 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
• 7,293 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
• 6,600 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
• 26,223 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
• 31,717 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
• 29,787 views
0 votes
0 answers

What is the difference between Promises and Observables?

May 23, 2022 in Angular by Kichu
• 19,040 points
• 1,385 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,838 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
• 20,696 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
• 16,666 views