Latest questions in Angular

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
92 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
96 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
94 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
88 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
109 views
0 votes
1 answer

How to set a default base URL for all API calls in Angular?

In Angular, you can set a default ...READ MORE

Feb 26 in Angular by Kavya
139 views
0 votes
1 answer

How to cancel HTTP request in Angular 8?

In Angular 8, you can cancel an ...READ MORE

Feb 26 in Angular by Kavya
139 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
112 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
112 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
121 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
95 views
0 votes
1 answer

How to create a data source?

In Angular, a data source is commonly ...READ MORE

Feb 24 in Angular by Navya
79 views
0 votes
1 answer

How to send multipart/form-data for a file upload in Angular?

In Angular, you can send files using ...READ MORE

Feb 24 in Angular by Navya
176 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
130 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
76 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
108 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
106 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
95 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
85 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
101 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
130 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
128 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
344 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
169 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
215 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
169 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
169 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
159 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
133 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
166 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
193 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
260 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
180 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
539 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
782 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
577 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
714 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 68 views
0 votes
0 answers

What is the difference between Promises and Observables?

May 23, 2022 in Angular by Kichu
• 19,040 points
590 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
• 63,600 points
4,740 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
3,829 views
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,853 views
0 votes
0 answers

ng generate component --inlinestyle=true

What is the difference between these 2 ...READ MORE

Mar 20, 2021 in Angular by manionedurekanow

edited Mar 4 83 views
0 votes
1 answer

How to call a node function from Angular ?

Hello, For your query you can refer this:https://www.codegrepper.com/code-examples/javascript/how+to+call+a+function+when+a+button+is+clicked+in+javascript Hope ...READ MORE

Nov 9, 2020 in Angular by Niroj
• 82,840 points
2,180 views
0 votes
0 answers

How to call a node file from Angular function? [closed]

I have a button in my webpage ...READ MORE

Nov 9, 2020 in Angular by Viswa
• 140 points

closed Nov 9, 2020 by Gitika 995 views
0 votes
1 answer

How can I get current route

Hello @Ava, Try this this.router.events.filter((event: any) => event instanceof ...READ MORE

Sep 14, 2020 in Angular by Niroj
• 82,840 points
947 views
0 votes
1 answer

How do I detect a click outside an element?

Hello @kartik, Attach a click event to the ...READ MORE

Sep 10, 2020 in Angular by Niroj
• 82,840 points
3,188 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,840 points
27,545 views
0 votes
1 answer

What does this construct look like in Typescript for Angular ?

Hello @kartik, try this. selectChildren(data, $event) { ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,840 points
851 views