Most voted "angular" questions
Angular is a framework created by Google for the development of web applications. Use this tag for questions about syntax, errors, doubts, among others. Not specific to a version. For Angularjs-related issues (1.X) use the Angularjs tag.
Learn more…2,063 questions
Sort by count of
-
-1
votes1
answer2482
viewsHow to export data from a database to a CSV file?
Hello, I would like to know how data could be exported from a database to an Excel spreadsheet, not necessarily need a code that does this, but I would like to know which languages can be used,…
-
-1
votes1
answer26
viewsComponent does not render again
I have a component that your rendering should change based on @Input property.. <p-button *ngIf="loading!=active" [label]="'enable - title'" [icon]="icon" [iconPos] ="iconPos" [style] ="style"…
-
-1
votes1
answer372
viewsPost request going without angular body
I’m having trouble with ionic 4 and angular to make a request post in case I am implementing the login, but is not being sent my body in the request. My files are like this: Baserequest. public…
-
-1
votes1
answer47
viewsFunction is not being called in service - Angular
limit-Component.ts import { Component, OnInit, EventEmitter } from '@angular/core'; import { CalculoService } from './calculo.service'; import { Dados } from './dados'; @Component({ selector:…
-
-1
votes2
answers560
viewsAngular Deploy 8 Heroku
I am doing the Deploy of an Angular8 application, but it seems that Angular is not building in this process. It is possible to inspect the code in the browser, but nothing is rendered. Below are the…
-
-1
votes1
answer117
viewsHow to resolve the error ( code: "Storage/unauthorized" ) within firebase
I’m here with an angle panel for maintenance. All I need to do is upload a pdf file to the server, and return the download url of this same file. But I’m bumping into this mistake and I can’t move.…
-
-1
votes1
answer215
viewsReactive Forms Ionic 4, data call
I used ngModel to take data from an api and move to a form, where the user typed the zip code and obtained the data, but as it will be discontinued, I will switch to reactive Forms, now I’m having…
-
-1
votes1
answer46
viewsProblem with Function Return, even returning false runs
Check it out, I have a code where the person type her number, check if the user exists or not, if yes, search his data, check if he has password or not, if you have goes to a page if you don’t have…
-
-1
votes1
answer32
viewsCase Sensitive attribute
Good afternoon, everyone! I have a class called Inventory that has the following attributes: import InventoryItem from "./InventoryItem"; import InventoryConfiguration from…
-
-1
votes1
answer246
viewsI cannot call a Service function within another Angular Service (NGX-ROCKET)
I am developing an Angular project from NGX-Rocket. And I am using the authentication service already implemented in NGX. In the archive app/core/http/http.service.ts I am importing a Service…
angularasked 4 years, 10 months ago Stênio Melo 1 -
-1
votes1
answer509
viewsChange a component through another component - Angular 8
Guys, I have a Nav component where owns the company logo and a Home component, however, Home could not exist the logo I have in Nav. What would be the hidden forms of the logo when the home route…
-
-1
votes2
answers70
viewsAngular paging and javascript sending events always returns the same page
I’m studying javascript and angular now, I have a pagination component with the following HTML: <nav aria-label="Page navigation example"> <ul class="pagination justify-content-end">…
-
-1
votes1
answer307
viewsProblem sending file with Angular Form-Data
In my project, I have to send a file to my backend, but when I get to the back it doesn’t take my parameters, it’s probably a problem in my service. follow my ts and service. TS: sendMailing() {…
angularasked 4 years, 10 months ago Renan Santos 23 -
-1
votes1
answer22
viewsNGRX - Store variable returning Undefined
I have a problem when I try to give Dispatch in a state and try to sign up for Oninit in my application. Module Users: import { StoreModule } from '@ngrx/store'; import { NgModule } from…
-
-1
votes1
answer91
viewsGroup array with javascript
I have a backend application in Node that returns the following array: let res= [ { codigo: '0341', codigo_1: '0320', visao: '14', total: 24, data: '201502' }, { codigo:'0341', codigo_1:'0320',…
-
-1
votes1
answer60
viewsMap Formgroup to an object
I would like to know if you have any better way to do the assignment of the values of a formGroup on an object. The bass follows what I did, but I think it’s kind of weird, but I also couldn’t find…
-
-1
votes1
answer458
viewsHow to send an array with ngmodel
I am redoing a project now in angular, and to get an array of the form I used getlist and Prod[] and Qtd[] inside the tag form, now in angular use ngmodel and not the form itself, how can I take…
-
-1
votes1
answer306
viewsProblems with this.router.navigate
Hello, my problem is this, I need to leave the dynamic whenever I play a different value in navigation, this is my code: editarForm() { const valor = ('X'); this.router.navigate(['/' + valor +…
-
-1
votes1
answer330
viewsagm-map/agm-Direction = "OVER_QUERY_LIMIT" (Angular 8)
The problem is to create a map with multiple routes and in each route multiple waypoints, for this, I am using Angular with the following modules: agm-map agm-Direction Code implemented: HTML:…
-
-1
votes1
answer24
viewsInsert (Value)"Slider value" into an Angular Nativescript Label
Guys, I’m having a problem in my studies in Nativescript/Angular, I’m trying to insert a value of a Slider inside a Label the slider is in the following: <Slider value="1" minValue="0"…
-
-1
votes1
answer44
viewsCancel subscribe
I’m performing a call to API that returns me a list of any obj when I click on a button. That is if I click twice in sequence, the API returns me the same list in sequence as well. My question is,…
-
-1
votes1
answer608
viewsCannot find control with name: 'student.id'
I’m trying to send the student id, but this giving error. Tag-presenca.component.html: <form [formGroup]="formulario"> <div class="mdl-grid mdl-cell--4-col"> <div class="mdl-cell…
angularasked 4 years, 8 months ago Nasser Othman 11 -
-1
votes1
answer20
views<select> with Angular
Good evening, I’m having a doubt that I’m having trouble solving... I’m trying to retrieve an object from one and the variable always back Undefined Follows code snippet: HTML <div class="modal…
-
-1
votes1
answer43
viewsNgix with multiple angular designs
Hello, I’m starting now to use the NGINX and I’ve already had a problem! I am using an ubundo server to run 3 angular frontends, and then I am using NGINX to resect these projects The setup I’m…
-
-1
votes1
answer166
viewsAsp.net core User Authentication and Authorization
Hello, I have the following conceptual and architectural problem of an application. -Scenario: There is an application that has user table, user permissions and user groups already defined in the…
-
-1
votes1
answer128
viewsAngular Relationship Object within an Object
I have a class relating to another class in java, example: 1:1 address contributor get with Postman on a collaborator: { "colaborador_id": 17, "colaborador_nome": "TESTE TESTE",…
angularasked 4 years, 8 months ago A.Chiarella 1 -
-1
votes1
answer421
viewsReceive user data before proceeding with code execution. ANGULAR
I’m trying to assign a user to a service, so I can use user information wherever it is needed, just calling the service that will have user information. This information is picked up by http…
angularasked 4 years, 7 months ago Guilherme Silva 3 -
-1
votes2
answers156
viewsDocker and angular circling communication with api
I started using Docker a short time ago, I tried the deployment of two applications the angular frontend and an api in python, problem that even in the same network in Docker I can only access the…
-
-1
votes1
answer50
viewsHow to leave access to my API open for consultation
I have an application built in Angular2+ and I need to leave an open route for external consultation, without having to log in to the application: Java resource…
-
-1
votes1
answer39
viewsHow can I make the form input data appear in another component’s html
this error should be simple but I’m new with angular I believe I must make few changes to that code Code of the Service below: import { Grade } from './../calculator/calculator.model'; import {…
-
-1
votes1
answer4663
viewsProperty '' does not exist on type ''
I’m picking up an error while doing the Build of my angular application, the error is this: Property 'resource_name' does not exist on type 'Produto[]' Here is my TS code and HTML. The call by form…
-
-1
votes1
answer53
viewsConsultation of collections firebase
I have an angular design and I’m using firebase as a database, but I’m having trouble accessing a collection that’s inside another collection. My firebase project is like this: colection(usuarios)…
-
-1
votes1
answer407
viewsAngular Reactive Forms validation by clicking the button
Hello, I’m trying to create a validation to check if there is already a Cpf in the database (fictional), only that I wanted to change the trigger, instead of triggering the validation on keyup…
javascript angular typescript validation reactive-programmingasked 4 years, 6 months ago Renan Duarte 37 -
-1
votes1
answer103
viewsProblem with ngFor
I updated my project to Angular 9 and my pages with ngFor and ngIf stopped working, appears: core.js:12768 Can’t bind to 'ngForOf' Since it isn’t a known Property of 'div'. As a browser error, in…
angularasked 4 years, 6 months ago Beatriz Costa 1 -
-1
votes1
answer117
viewsJavascript - Variable gets Undefined after a function
I have two classes. One that contains the function and the other that matters that function. For some reason I could not figure out the value of the variable after the function is Undefined. First…
-
-1
votes1
answer163
viewsAngular 9 + error when passing variable in direct html function
Guys, I have a question about a mistake that I don’t understand why. I have a function that I run by a click, this function has to pass a single value and is passing(tested via console.log).…
-
-1
votes1
answer411
viewsHow to protect routes at angle 8?
I am migrating an application from Angular 8 and a great difficulty that I am having is in the routing system, in my application and mandatory this logged in for all routes except for login and…
-
-1
votes1
answer110
viewsHow to reload an Angularcomponent when I navigate to the same route?
I’m doing a school project, and in it I have a navbar that has several buttons with routerLinks at the angle, when I click on them, they take me to a route with the path: 'busca/:type/:id'. When…
-
-1
votes1
answer266
viewsValidate input, using formbuilder, with Pattern at angular 9
I want to display the error message when the user changes or makes the input active using Pattern [ X20-xff]{5,50}$ But when I type characters that do not answer the field, it only turns red and the…
-
-1
votes1
answer52
viewsError testing Activatedroute with angular jest 9
First thank you for reading my question! Setting: I’m testing an angular 9 application with jest of a component using a solver class'. I tried to set up a mock to resolve it, but when running tests…
-
-1
votes1
answer208
viewsAngular, Appcomponent and Appmodule error, not importing
app.componentts. import { Component } from '@angular/core'; import { AppComponent } from './app.component'; @Component({ selector: 'app-root', templateUrl: 'app.component.html' }) export class…
-
-1
votes1
answer165
viewsError when executing Angular project
I’m trying to run an Angular application in my development environment, but I’m going through some problems. I cloned the project repository, ran npm install, and when running an ng serves, the…
-
-1
votes1
answer230
viewshow to decrease the response time of a Web API?
I’m a beginner in C# and I’m developing a CRUD using Angular and Web Api (Entity Framework Core), but the response time to list my Serverscontroller data in my table is very high. What happens…
-
-1
votes1
answer158
viewsAngular - Search vector data at Storage location and populate table with data
How do I search for the data stored in the Storage location and populate the table with the result obtained in the search For example: I search by year or by manufacturer or by model and the table…
-
-1
votes1
answer56
viewsGestures at angle 9 with hammerjs
I’m trying to use the hammerjs to capture the swipe in the mobile version of my application, however, the event swipe seems not to be recognized since the console.log within it is not logged.…
-
-1
votes1
answer56
viewsAngular 9 Error 'length' of Undefined
Good morning! I am doing a function for each click of the user on a given button appear the field for him to add another phone. Follows image below: This is the html snippet: <div *ngFor="let…
angularasked 4 years, 3 months ago Sena Oliveira 364 -
-1
votes1
answer36
viewsInsert multiple values with WEB API
How are you, my dear? Quiet? I will summarize my project to assist in understanding: I am creating a CRUD to assist me in some of the company’s tasks. I have 3 areas I use (System, Database and…
-
-1
votes1
answer84
viewsError loading image from server
Hi, I’m trying to upload the image that’s on my server directly to the interface. The server is nodejs with express, already on the front end I’m using the angular Sanitizer. On the server I have:…
-
-1
votes3
answers229
viewsAngular HTTP subscribe does not return Sponse
I created a service to hit my API and return all orders according to certain type params. When I try to assign the return to my Component, it does not return me an array of results, it returns me a…
-
-1
votes1
answer67
viewsAdd a CSS class to only one child element of the table row
I need a help, I have a table, when clicking on the checkbox of a certain line, only the name of the analyst present in this line should be red, but the way I implemented when clicking on the…