Questions tagged [angular]

Questions about Angular (not to be confused with AngularJS), the web framework from Google. Use this tag for Angular questions which are not specific to an individual version. For the older AngularJS (1.x) web framework, use the AngularJS tag.

0
votes
1answer
10 views

Unexpected token e in JSON at position 0 Angular 12 .Net 5

I am getting really weird behavior trying to call the Controller in .net 5 MVC project from the angular 12. I am getting 200 status code and even get the data that I suppose to get but at the same ...
0
votes
0answers
10 views

How to get a new timestamp listed when a button is pressed (Angular)

My code works this far, but now I would like the new timestamp to appear on the list when I press the button again. (example 10:01, 10:02, 10:03 etc..) Currently, it adds the same old original ...
0
votes
0answers
7 views

How to setup Angular environment variables for Heroku to patch during deployment?

I have a Angular + Spring boot application that is deployed on Heroku. To setup environment variables at Spring for Heroku to patch, I just have to declare spring.datasource.username= inside the ...
0
votes
0answers
5 views

Refresh NativeScript (Angular) Labels text after tap action (updating label)

I have a list of labels in NativeScript app representing a status. I have method that changes the status of each label after tap. After I tap the label it should change the status value (number) and ...
0
votes
0answers
9 views

Sending a post request from angular 11 to an api running on gcloud run gives a error response 500

Im trying to send a post request which includes a json data such as { "name": "test", "timeStamp": "2022-01-16T17:29:30.011Z", "collection": [] }...
0
votes
0answers
7 views

Angular and Stripe - Expanding Customer Retrieve to get Sources

I'm trying to integrate Angular 8 with Stripe. Reading the documentation, I did see that I need to expand the Customer retrieve to get the Sources data, but I didn't get yet: customers.ts // Read the ...
1
vote
0answers
17 views

display a list of custom data in anugular

As a learner I am able to display the list of custom objects in a display page in angular. But I want to know the efficient way to decode the IDs corresponding to its values in that display page. To ...
0
votes
0answers
12 views

Angular Forms with ag-Grid- Scrolling Bug

Based on this article, I'm using angular forms with AG Grid (The grid is part of the form as a FormArray). I have a strange bug- When my grid has horizontal or vertical scroller, the controllers ...
-3
votes
0answers
21 views

Angular or React javascript framework [closed]

I have seen previous posts about this question, but not a recent one from 2022. What is the best framework to choose this year?
0
votes
0answers
9 views

Unknown Error when calling Google Elevation API

I just signed up for the Google Elevation API and received an API key. Everything works when I plug this URL into a browser (key removed) and I do get a valid elevation back: https://maps.googleapis....
0
votes
0answers
18 views

How to test flow with angular?

In my DashboardComponent I have two components, FilterComponent and ListComponent. FilterComponent is similar to button-toggle component from Angular Material. This is mean, I click on the button I ...
-4
votes
0answers
14 views

Access to XMLHttpRequest is blocked by CORS policy ( I am using API gatewaey) [closed]

Access to XMLHttpRequest at 'http://localhost:9191/students/delete' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check:...
1
vote
1answer
21 views

Display the selected value (tag select) inside the form on another page

I wrote a service that takes two models, one with an ID and the other with a title. When I want to select the value in the form in the form selection box, I want to display it in the page. When I ...
-1
votes
0answers
10 views

how to unit test if input has required attribute true after its rendered in Angular?

how to test if input element have required attribute true or false after its render in Agnular. when this component is called in code [required]="true" is passed. my test returns TypeError: ...
0
votes
0answers
12 views

How to use CanActivate routerguard to control the loading of a component without a path

I understand router guards are used to control whether or not a component loads based on some condition. However, they typically are used with routes, which require paths. My use case is: I have an ...

15 30 50 per page
1
2 3 4 5
17975