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
-
0
votes1
answer266
viewsHow to update @angular/core globally?
I did the update on angular/cli for the latest version (Angular 8), but when I create a new project, the @angular/core is in the version @7.2.15 and not in the version @8.1.0. The project gives…
-
0
votes1
answer520
viewsChange formBuilder array value
I’m looking for a solution to be able to change the value of the array in formbuilder. My code is only changing the "visual" and not what should actually be changed. follows codes. Online:…
-
0
votes1
answer241
viewsHow to take src from an img of <content:encoded> Angular 7
I’m doing an Rss Feed and I want to get an image of <content:encoded> and use as thumbnail, how to solve? I’m using this feed as an example: http://parceriasocialdeempregos.com.br/feed…
-
0
votes0
answers524
viewsAngular error-devkit/build-angular
I have in package.json "scripts": { "ng": "ng", "start": "ng serve", "lint": "tslint \"src/**/*.ts\" --project src/tsconfig.json --type-check && tslint \"e2e/**/*.ts\" --project…
-
0
votes1
answer115
viewsHow to recover a project using Angular 2 that was damaged with "npm update"
I’ve resumed my studies with Angular 2, and I’m trying to rebuild the design of this link step by step, but when executing the update of packages with npm update I can no longer test the project…
-
0
votes1
answer331
viewsShow Navbar after authenticating user in Angular
I am trying to hide a Navbar and show only after I authenticate the user, I am using *ngIf and using an Eventemitter to return a bolean value, I initialized a variable called show Nu in my…
angularasked 5 years, 4 months ago Eduardo Ribeiro 13 -
0
votes0
answers116
viewsAngular shift detection not working for notification component
Hello. I was implementing a notification component to present, on a screen, successful or error messages for user operations. It is based on a Subject in a Service shared, where it feeds a list into…
javascript angular typescript front-end visual-studio-codeasked 5 years, 4 months ago Renan Fernandes 62 -
0
votes1
answer420
viewsName of input type radio with formControl
Good night. I created a Component for a standardized template and I’m having trouble adjusting the name of the radio input making only one selected and not all. theme-thumbnail.component.ts…
-
0
votes2
answers434
viewsHow to recover documents from a Firestore(Firebase) collection in the right way?
I want to recover all documents from an internal collection of a document in the Firestore for an array, in case this collection has 2 documents, however after running the code below the…
-
0
votes0
answers144
viewsWhat is the shortest way to implement 2FA with Angular and Spring
I am using the two technologies mentioned above and would like to know if you know any library, framework or functional example that facilitates the implementation of an authentication in two…
-
0
votes1
answer64
viewsThe 'value' should be a Valid Javascript Date instance. When using the Kendo ui’s date Picker
I’m trying to store a date in the bank through the component date Picker do Kendo ui it sends to my bank in this format: 2019-07-23T00:00:00 When I seek it from the bank and assign the value of the…
-
0
votes1
answer23
viewsHow to perform a template function on the <Kendo-tabstrip-tab> component
I have a component in which a part of this component has that part: <kendo-tabstrip-tab [title]="'Categoria'" [disabled]="ReferenciaMktId == '00000000-0000-0000-0000-000000000000'"…
-
0
votes1
answer447
viewsHow to create 2 instances of the same component on the same page?
I’m having problems with the components in Angular, I have a component that emits an event when selecting a particular item, and I need to use it twice on the same page, but the second component…
-
0
votes3
answers2918
viewspass input text value to an angle function
Could someone help me pass the content of an input text to a function at the angle? my html is: <form class= "form mt-4"> <mat-card> <mat-card-header> <mat-card-title>{{…
-
0
votes2
answers336
viewsShow Page from Springboot at angle 6 using Angular Material Data Table
Hello, I’m starting in angular and would like to show the result of a search that is coming from an api I built using springboot. my Sponse is coming like this: {,…} content: [{id: 33, dsProjeto:…
-
0
votes2
answers832
viewsIteration of array elements in Typescript - Angular 7
I am trying to pass the amount of elements of an array to a Typescript variable that will feed the value property of a Gauge(speedometer). I tested to put the call of the method that would do this…
-
0
votes1
answer2425
viewsCannot read Property 'data' of Undefined
I’m getting the following sponse: {"content":[{"id":"33","dsProjeto":"EXT-016370-00002","nomeProjeto":"Brazil IT…
-
0
votes1
answer286
viewshow do you call the angular click event using the datatable?
I am having call this function to edit my record but the function is not called using the (click) angle. HTLM:: <sa-datatable [options]="options" paginationLength="true" tableClass="table…
-
0
votes1
answer916
viewsPassing parameter to Typescript method - Angular 7
I’m new to Angular and I need to pass as parameter to the method "load Production" the employee of the time in my HTML ngFor, but I’m not succeeding, the console does not print anything in the…
-
0
votes1
answer242
viewsProblem in angular design
I went to try to install the socket.io-client in my project and ruined my system Is giving the following message: Unhandled Promise rejection Error: Zone.js has Detected that Zoneawarepromise…
-
0
votes1
answer58
viewsI upgraded Angular 5 to 8 - Conflicts
I updated the angle today and some conflicts appeared... I solved most, but this I do not know how to solve... I would like help to solve. Requestoptionsargs -> @angular/http did not find the…
angularasked 5 years, 3 months ago LeoHenrique 954 -
0
votes1
answer99
viewsJavascript function returns Undefined instead of Boolean value
I’m trying to get my function to return true or false, but it always returns me Undefined. I believe my logic is right. onChangeCategoria(categoria: any, itemchecked) { this.itemcheckado =…
-
0
votes2
answers1959
viewshow to wait for a finished method to execute the next in angular?
Well, I’m doing an Angular course, I’m trying to understand the concept of Observables and Promisses, but I’m a little confused, I’m using Firebase to create a simple application, where I use email…
-
0
votes2
answers2253
viewsAngular 8 / ngx-bootstrap / Datepicker
I’m using the datepicker da ng-boostrap and I am finding it difficult to format the date that goes to the input after clicking on the desired day: I would like it to be in format: dd/mm/yyyy.…
-
0
votes2
answers189
viewsJSON.stringfy of large objects with Angular 8
I am starting an application with Angular 8 and have a question that is being complicated to solve. Is there a practical way to turn a javascript object into a JSON string defining which attributes…
-
0
votes1
answer92
viewsHow to correct object loading at Angular 7?
Look at the picture; You can notice that when you click on the Debits checkbox the list only carries all the names that have the debited word on the side, but it doesn’t happen the same when the…
-
0
votes1
answer8975
viewsError in Node.JS
Guys I’m following a post to start seeing Node.JS and Angular. Apparently everything was going well until the moment I’m going to do the first test, which, according to post, I have to give the…
-
0
votes0
answers76
viewsDoubts on the applied use of async/await with Angular
Good morning, Even reading about the concepts and uses of async and of await I’m still having problems with their actual application. Basically in my ngOnInit call for a function: ngOnInit() {…
-
0
votes0
answers441
viewsAngular life cycle
I’m having some doubts about the life cycle in Angular 7, when making a request for a certain API needed before I have picked up your token that also comes through the API, in another get. The doubt…
-
0
votes1
answer109
viewsHOW TO SAVE A SUBSCRIBE RETURN IN A VARIABLE?
My basic code: ngOnInit() { const today = Date.now() this._schedulesService.getSchedules().subscribe( (res: SchedulesModel[]) => { this.schedulesToday = res this.schedulesToday.filter((schedule:…
-
0
votes0
answers31
viewsjs.Chart with error in *ngIf
I am trying to implement a js.Chart graph in an ng-template linked to a *ngIf directive, but when in this condition the graph does not open and generates the error can’t Acquire context from the…
angularasked 5 years, 3 months ago Andre Astafieff 27 -
0
votes1
answer266
viewsSocketio com Typescript
I am trying to make a Altime application with express ( 4.17.1"), Node (10.12.0) using typescript. Only in the socket that is giving Cors problem Access to Xmlhttprequest at…
-
0
votes1
answer65
viewsGenerate content dynamically with single observable
I create a table dynamically (ngFor), as returned from a list retrieved from the database (via API). The table displays item information and when the item has attachment(s), in the item row a…
angularasked 5 years, 3 months ago Lorena Adrian 3 -
0
votes1
answer205
viewsReload Angular 8 in js files inserted into index.html via routerLink
I need to restart the angular, If I am on any other page, and I click on the routerLink, I go to the homepage normally, however, some elements that depend on javascript files or jquery libraries are…
-
0
votes0
answers51
viewsDeploy application using --Prod and path strategy
I’m trying to deploy angular application 8 When I use the command ng build --prod --base-href /app/ When I try to run the application on localhost/app The app does not load On the console you have…
-
0
votes0
answers28
viewsHorizontal data-table material
I have a json that returns the data structure below, where I populate a data-table. {TimeStamp: "2019-08-07T03:30:00.000Z", Value: "377.5", Quality: 3} {TimeStamp: "2019-08-07T03:40:00.000Z", Value:…
angularasked 5 years, 2 months ago Andre Astafieff 27 -
0
votes1
answer48
viewsHttpclient URL limit
Could someone tell me if there is any limitation to the size of a URL in httpclient in Angular? I’m trying to call an api from the url below, but the last 6 characters are cut.…
-
0
votes1
answer61
viewsProblem to migrate bootstrap v3 to v4 with Angular 8
I am following a tutorial for creating a Dashboard with bootstrap v3 with angular 2, however I am trying to continue using the bootstrap v4 and angular 8. In the creation of Navbar and the side menu…
-
0
votes0
answers162
viewsI can’t file a request for flask through the angular on apache
[RESOLVED] I managed to solve. I used Proxypass to redirect meudominio/api requests to localhost:8000, and changed the request url in my angular project to meudominio/api, and then it started…
-
0
votes1
answer30
viewsValidation of Nativescript empty fields
Need to validate multiple Fields (text, Dropdown) in one form, which is divided into two : <StackLayout> <TextField required [text]="usr.nome" [(ngModel)]="usr.nome"></TextField>…
-
0
votes1
answer86
viewsAccess specific folder project
I have the following url http://localhost/meuApp Angled My file . htaccess is like this: RewriteEngine On # If an existing asset or directory is requested go to it as it is RewriteCond…
-
0
votes1
answer56
viewsHow to make a request that changes the values according to the return of the api
Hello! I have to request an api, but the api values change dynamically. was giving a read on Observables, and I can’t tell what I’m doing wrong the function is already of the Observable type... but…
-
0
votes1
answer510
viewsHow to give "Trigger" in an Option of a Mat-select that is already selected?
I basically have this mat-select: <mat-select [formControl]="form.get('emptyTitle')" placeholder="Nenhum Índice Selecionado" (selectionChange)="onSelect($event)"> <mat-option…
-
0
votes1
answer1539
viewsHow to make a filter component with angular 8
all good? I’m having a hard time creating a filter on my site. The problem is, I created a specific component with the input and another that receives the list of items, I need to do the search in…
-
0
votes1
answer384
viewsUncaught Error: Template parse errors: 'app-home' is not a known element:
When trying to load my home.component.html in my app.component.htmlI’m getting the following error: compiler.js:1021 Uncaught Error: Template parse errors: 'app-home' is not a known element: Man…
-
0
votes1
answer285
viewsUncaught Error: Template parse errors: Can’t bind to 'users' Since it isn’t a known Property of 'app-user'
I am trying to consume data from a test api based on Laravel, but am getting the following error: Can't bind to 'users' since it isn't a known property of 'app-user'. USERCOMPONENT import {…
-
0
votes2
answers750
viewsHow to pick up *ngFor Angular 7 item
Personal I have a select where I select a company <div class="form-group col-md-12"> <select class="form-control" name="Empresa" formControlName="Empresa"> <option selected…
-
0
votes1
answer24
viewsWhen dealing with delete/update, should I unsubscribe in Async Pipe mode?
I’m new to Angular. One of the main goals of async pipe is to automatically take care of signing up (subscribe) and unsubscribe (unsubscribe). I have two doubts: First Doubt When dealing with delete…
-
0
votes1
answer252
viewsIs there any way to force an option of a <mat-option> by a service?
I basically have a mat-option, and would like to select an option from it directly by parameters, with a service, for example. This is the option: <mat-select…
-
0
votes1
answer76
viewsCheckbox shows error in console when changing Checked state
I’m doing a checkbox search to do when it’s fake and when it’s true to change the status cheked and is making the following mistake: Error: Expressionchangedafterithasbeencheckederror: Expression…