Most voted "angular-7" questions
Use this tag for specific questions about version 7 of Angular, Google’s web framework. Use the [angular] tag for any question about Angular that is not specific to an individual version.
Learn more…36 questions
Sort by count of
-
3
votes1
answer3965
viewsCannot find control with unspecified name attribute Angular
I’m trying to make a simple component using Reactive Forms in the input, but this giving error that until now had not seen Input.components.ts import { Component, OnInit, Input } from…
-
3
votes1
answer417
viewsAsync/Await does not work with callback
I have a function that converts an image to base 64 but I want only when the console.log('1') run; should appear is the place where I run a post but even inside the arrowFunction it makes the…
-
2
votes1
answer590
viewsAngular 7 Child Routes import Component using modules
I’m trying to set some daughter routes in my angular application 7 but they don’t work, I have the following scenario: I own a base-home.component and a home.component, I encapsulated the two…
-
2
votes1
answer161
viewsAdd javascript plugins at angular 7
I’m trying to plot a hierarchy chart on the page using a plugin Angular from this tutorial. Even looking at the demo and trying to put them that way When I load the page, the page does not work...…
javascript jquery angular angular-7 hierarchical-dataasked 4 years, 5 months ago adventistaam 3,354 -
1
votes0
answers57
viewsHow to track the scroll event of an element (not the window) using a directive in Angular (v2+)
Hello, I’m creating a screen with this structure: <div class="wrapper"> <div class="appbar"> ... </div> <div class="main" #main> <router-outlet></router-outlet>…
-
1
votes2
answers294
viewsHttpinterceptor null token (Angular 7)
Hello! Time to "pick up" the token on Httpinterceptor is coming as null. follow code d Interceptor: import { Injectable } from '@angular/core'; import { HttpRequest, HttpHandler, HttpEvent,…
-
1
votes1
answer747
viewsInterceptor not triggered - Angular 7
I created an Interceptor so that it sends the API access token in the request header, but when performing the http call it is not triggered. Follows the implementations: auth.interceptor.ts: import…
-
1
votes0
answers151
viewsHow to access a method in a Javascript Function at the angle?
I am using a plugin in Jquery and it works very well in Angular, however I want to call a service method within a function of an alert, follows below the code: click event that creates the modal…
-
1
votes1
answer3139
viewsAngular 7 - Input validation in a dynamic form
I made a form where the fields (input) appear according to the category to be created. The category is chosen when the user clicks on it, opening a new pro form tab. In the form, you have fields…
-
1
votes1
answer3867
viewsHow to redirect to another page using angular 7
I am making an application using angular 7 with angular/cli, but I find myself in a problem, I finished my login screen and I want to redirect to Dashboard; But I find where the router-outlet opens…
-
1
votes1
answer417
viewsAngular 7 - Remove/Update objects from a list and update in DB (Primeng - Picklist)
I’m using the Primeng picklist, just like this tutorial: picklist tutorial I am using the event onMoveToTarget and onMoveToSource to get the object information: <p-pickList…
-
1
votes1
answer14955
viewsAngular 7 - How to make "Else if" with "*ngif"?
I am trying to make an "Else if", to present the items of the category chosen by the user through a radio button. Only I only have "if" and "Else" to present on ng-template. I set up a sequence of…
-
0
votes0
answers126
viewsProblems with GET Angular 7 request
Good evening guys, I’m trying to create a requisition like get in my Angular application, but it’s popping that error. I couldn’t understand what you mean and none of the possible solutions I tested…
-
0
votes1
answer239
viewsBackground color angular
How do, in angular 7, a background-color of the body different from the page I’m displaying? Example: Login page: green background Home: blue background
-
0
votes1
answer233
viewsAngular 7 waiting service reply to continue
Good afternoon, guys, I have two methods, how do I wait for a method that is calling an external service to respond to continue the execution of the method that called this method? Example:…
-
0
votes0
answers45
viewsHow to remove the form name from the url at angular 7?
When I direct to a component at the angle, its name is available at the page address for example http://localhost/#/form-login Would there be some way that the component name would be hidden?…
-
0
votes1
answer239
viewsAngular 7 - Power Tooltip on prime-table buttons
I am using the prime-table, along with the tooltip, and would like the tooltip message to be customized for my system. Ex: The edit button will display the "Edit user" message in the user table and…
-
0
votes1
answer874
viewsAngular 7 - Reload datatables after deleting an item from the table
The datatable presents an error after I delete an item from the table, the message includes a site that eh this: Cannot reinitialise Datatable I thought of some way to "go back and forth" the page…
-
0
votes1
answer266
viewsHide and show an icon in angular mat-table 7
Guys, I have a mat-table of the angular material, I’m using angular 7, I have two buttons, one of play and one of pause, start showing the play buttons in this list, I’m trying to implement a logic…
angular-7asked 5 years, 6 months ago Rafael Moura 165 -
0
votes1
answer117
viewsngFor in array within another array with API links
I am using the API publishes swapi to list Wars star movies in a list and within each movie I want to list the characters, the json response of the api is this: { "title": "A New Hope",…
-
0
votes1
answer544
viewsUpload files and other data from Angular 7 app to Asp Core Web Api 2.1.1
I’m having a problem uploading files using Angular 7 to API written in c# Asp Core 2.1. Searching the web I found several examples uploading the file only, but I need to upload the file and in the…
asp.net-core file-upload angular-7 asp.net-core-web-apiasked 5 years, 6 months ago Ricardo Alves 484 -
0
votes1
answer622
viewsPrimeng p-editor error in Angular 7
I followed the documentation as the site says: example p-editor. But he gives me the following mistake: ReferenceError: Quill is not defined at…
-
0
votes1
answer371
viewsMaterial Angular Material Inputs 7 Error Displayed
Good evening, I am creating this form, and it is presenting a strange display error. Using Angular Material 7. Has anyone had similar problems? Follows html content: <div class="flex-box">…
-
0
votes0
answers34
viewsHttp Get returns 200, shows Fiddler result, but does not bring Angular 7 result
Good morning guys, I have the following problem, I have a very simple api working API for testing. When I make a request get by Angular the return gives 200, bringing the result, but I can not load…
-
0
votes1
answer855
viewsHow to disable the right mouse button event in Angular 7?
I am trying to disable that menu that appears on the page when the user clicks with the right mouse button. At Angular, I can catch the click event using (click)="onRightClick($event), but I only…
-
0
votes3
answers339
viewsJWT and Angular 7 returning Token null value in the application
My JWT application has the following code: my Model of user: export class User { id: number; username: string; password: string; name: string; admin: boolean; token?: string; } The ts of the Login…
-
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
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
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…
-
0
votes1
answer76
viewsError when integrating template to Angular 7
Hello, I have a problem: I am integrating a template that works on jQuery, css3 and Html5. I added it to node_modules and referenced the scripts in angular.json. The template css is working…
-
0
votes1
answer39
viewsStaticinjectorerror when using Typeahead(ngx-bootstrap)
I need to use typeahead in a Component, let’s call it component1. Typeahead is also being imported into another Component(let’s call component2) which is used within this same component1 as a modal,…
-
0
votes0
answers74
viewsHow to consume a SOAP Webservice at Angular 7
Guys, I’m trying to consume a SOAP Webservice in Angular 7, I’m using ngx-Soap in version 0.6.3, but I’m not succeeding, the project runs but when I try to access the resource the browser emits this…
-
-1
votes1
answer58
viewsDate doesn’t update the schedule?
I’m on a project at angle 7 that I need to present on the screen The time, I’ve used the Date'shortTime and it doesn’t update the schedule, any suggestions? HTML <h3>{{ today |…
-
-1
votes1
answer36
viewsLinkedin Angular 7 authorization api and route
I’m having a problem developing a login screen using Angular 7 and the Linkedin API. Backend is written in C#, and the problem is: Linkedin requires a callback URL, and as far as I was able to…
-
-1
votes1
answer395
viewsWhy is the "ion-slides" not working properly in my app?
I’m developing an app using Ionic 4. On one of the pages I started creating, I’m trying to use the "ion-slides component". I inserted a basic component into an html page, just to test, like this:…
-
-1
votes2
answers559
viewsAngular 7 Cannot find a differ supporting Object '[Object Object]' of type 'Object'. Ngfor only Supports Binding to Iterables such as Arrays
I am studying angular and decided to make a very simple movie search. I would like to put the elements of the film on the screen, but the return of my get has been an Object. I have broken my head…