Trending questions in Angular

0 votes
1 answer

What is the use case of custom directives in Angular?

Custom directives are used to encapsulate reusable ...READ MORE

Feb 26 in Angular by Tanya
223 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 in Angular by Tanya
210 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 in Angular by Kavya
201 views
0 votes
1 answer

How to remove components created with Angular-CLI?

To remove components created with Angular CLI, ...READ MORE

Feb 26 in Angular by Navya
199 views
0 votes
1 answer

Can we create a custom directive in Angular?

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

Feb 26 in Angular by Tanya
174 views
0 votes
1 answer

How does the @Component directive define Angular components?

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

Feb 26 in Angular by Navya
170 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 in Angular by Navya
170 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 in Angular by Kavya
169 views
0 votes
1 answer

How to preload a component in Angular?

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

Feb 24 in Angular by Navya
244 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 in Angular by Navya
204 views
0 votes
1 answer

How to build an Angular project?

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

Feb 25 in Angular by Navya
200 views
0 votes
1 answer

How to check Angular CLI version?

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

Feb 25 in Angular by Navya
187 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 in Angular by Navya
214 views
0 votes
1 answer

How does Angular work?

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

Feb 25 in Angular by Navya
170 views
0 votes
1 answer

How does Angular's HttpInterceptor modify outgoing requests?

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

Feb 24 in Angular by Navya
184 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 in Angular by Navya
157 views
0 votes
1 answer

How to create an API in Angular?

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

Feb 24 in Angular by Kavya
172 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 in Angular by Kavya
208 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 in Angular by Kavya
173 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 in Angular by Kavya
248 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 in Angular by Navya
211 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
728 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 in Angular by Kavya
283 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
387 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
303 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
280 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
267 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
238 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
370 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
215 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
284 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
272 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
656 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
890 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
680 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
817 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 19,634 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
8,961 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 111 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,006 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
4,987 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
24,226 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
29,776 views
0 votes
0 answers

What is the difference between Promises and Observables?

May 23, 2022 in Angular by Kichu
• 19,040 points
669 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
27,775 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
25,646 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
18,526 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,174 views