Trending questions in Angular

0 votes
3 answers

How to load external scripts dynamically in Angular?

Hello kartik, You can use following technique to ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,840 points
71,661 views
0 votes
1 answer

What is single-page application in angular?

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

Feb 19 in Angular by Digna
384 views
0 votes
1 answer

What is Angular framework?

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

Jan 12 in Angular by Vaishali
469 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
351 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
487 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,674 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,169 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,503 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,840 points
29,176 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,840 points
23,085 views
0 votes
0 answers

What is the difference between Promises and Observables?

May 23, 2022 in Angular by Kichu
• 19,040 points
481 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
26,905 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,840 points
25,081 views
0 votes
1 answer

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

Hello @kartik, Use this: <div class="comeBack_up" *ngIf="(previous_info | json) ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,840 points
18,470 views
0 votes
1 answer

How to get current value of RxJS 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,840 points
17,478 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,840 points
14,454 views
0 votes
1 answer

How do I include a JavaScript script file in Angular and call a function from that script?

Hello @kartik, Refer the scripts inside the angular-cli.json (angular.json when using ...READ MORE

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

Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'

Hii kartik, Removing the node_modules and the package-lock.json ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,840 points
16,338 views
+2 votes
1 answer

An unhandled exception occurred: Job name “..getProjectMetadata” does not exist?

Hello @kartik, I had this error after npm audit found ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,840 points
15,549 views
0 votes
1 answer

How to synchronise Angular http get?

Hello @kartik,  the only way around this: wrap ...READ MORE

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

How to increase request timeout in IIS?

Hello @kartik, To Increase request time out add ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
9,131 views
0 votes
1 answer

How to update nested state properties in React

Hello @kartik, In order to setState for a nested object ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,840 points
9,133 views
0 votes
1 answer

How do I conditionally add attributes to React components?

Hello @kartik, For certain attributes, React is intelligent ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,840 points
8,777 views
0 votes
2 answers

How to access session variables from any class in ASP.NET?

Accessing session Variable in a class file ...READ MORE

Sep 3, 2020 in Angular by Okugbe
• 280 points
7,636 views
0 votes
1 answer

How to do a Jquery Callback after form submit?

Hello @kartik, Just do like this - $("#myform").bind('ajax:complete', function() ...READ MORE

Jul 24, 2020 in Angular by Niroj
• 82,840 points
8,181 views
0 votes
1 answer

How to add “active” class to Html.ActionLink in ASP.NET MVC?

Hello @kartik, The way you handle your UI ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
7,940 views
0 votes
1 answer

How to pass a string parameter from angular UI to node.js backend?

Hello Kartik, There are three ways to get ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,840 points
10,821 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,001 views
0 votes
1 answer

How to disable postback on an asp Button?

Hello @kartik, Use: YourButton.Attributes.Add("onclick", "return false"); or <asp:button runat="server" ... OnClientClick="return ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
6,546 views
0 votes
1 answer

How do I retrieve the Width and Height from this event object?

Hello @kartik, Use: <div (window:resize)="onResize($event)" onResize(event) { event.target.innerWidth; } or using ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,840 points
4,457 views
0 votes
1 answer

How to create a URL in the controller .NET MVC?

Hello @kartik, If you just want to get ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
6,027 views
0 votes
1 answer

How to set session timeout in web.config?

Hello @kartik, If you want to set the ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
5,937 views
0 votes
1 answer

How to specify a port to run a create-react-app based project?

Hello @kartik, You could use cross-env to set the port, ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,840 points
5,859 views
0 votes
1 answer

Error:Cannot read property 'remove' of undefined at BrowserDomAdapter.removeClass

Hello @kartik, There are several ways to add ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,840 points
3,585 views
0 votes
1 answer

How can we reload a page after requesting the same get parameter using AngularJS?

hey kartik, The reason for this is that ...READ MORE

Feb 10, 2020 in Angular by Niroj
• 82,840 points
12,634 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 855 views
0 votes
1 answer

Error: allowDefinition='MachineToApplication' beyond application level

Hello @kartik, This error occurs when you attempt ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
5,182 views
0 votes
1 answer

Error:getting “ENOTEMPTY: directory not empty, rmdir …” error on installing express in angular CLI app.

Hello Kartik, Use this command : npm install ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,840 points
9,063 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
2,977 views
0 votes
1 answer

How to allow access outside localhost?

Hello kartik, You can use the following command ...READ MORE

Apr 22, 2020 in Angular by Niroj
• 82,840 points
8,708 views
0 votes
1 answer

How to return raw string with ApiController?

Hello @kartik, You could have your Web Api ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
4,644 views
0 votes
1 answer

How to pass props to {this.props.children}?

Hello @kartik,  Try using this: <div> ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,840 points
3,500 views
0 votes
1 answer

Error: Cannot read property 'setState' of undefined

Hello @kartik, This is due to this.delta not being bound ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,840 points
3,357 views
0 votes
1 answer

Error: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function but got: object

Hello @kartik, You need export default or require(path).default var ...READ MORE

Jul 22, 2020 in Angular by Niroj
• 82,840 points
3,341 views
0 votes
1 answer

How do you bind an Enum to a DropDownList control in ASP.NET?

Hello @kartik, I probably wouldn't bind the data as it's ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
2,999 views
0 votes
1 answer

Error:setState doesn't update the state immediately

Hello @kartik, The method setState() takes a callback. And ...READ MORE

Jun 4, 2020 in Angular by Niroj
• 82,840 points
5,111 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
649 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
669 views
0 votes
1 answer

How to allow download of .json file with ASP.NET?

Hello @kartik, If you want to manually add ...READ MORE

Jul 23, 2020 in Angular by Niroj
• 82,840 points
2,139 views