Most voted "angular-6" questions
Use this tag for specific questions about version 6 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…118 questions
Sort by count of
-
0
votes1
answer1281
viewsFormat date in Angular?
I am developing a form in which birth date is required: <div class="form-group"> <label for="name">Data Nascimento</label> <input type="text" placeholder="Insira Data"…
-
0
votes1
answer231
viewsHow to make Lazy loading correct at Angular 6, not known component error
I’m trying to do Lazy loading to load certain modules when hitting the URL that really needs to load these modules, however I am getting the following error: core.js:1673 ERROR Error: Uncaught (in…
-
0
votes1
answer11
viewsIncrement within the subscribe
I have this method that gets the list date, what works, after a query in the database. private preencherPlanosSaudes() { this.planoSaudeService.buscarTodos().subscribe( (data : any[]) => { let ps…
-
0
votes1
answer94
viewsHTTP request using RAW/JSON Angular 7
Good afternoon, I’ve tried almost everything but I can’t do a POST at the angle using a list, always returns error 500. This is the Component call. ngOnInit() { let CSVProduto:…
-
0
votes1
answer313
viewsHow to change a css class in the parent component by clicking a button on the child component?
I am new to developing projects with Angular. I need, please, a great help. I would like a class css was changed in a <div></div> inserted into the parent component and when a button was…
-
0
votes0
answers11
viewsError: Invalidpipeargument: '[Object Object]' for pipe 'Slicepipe'
I am developing a system, which lists logs and is doing the log listing correctly. But there’s a mistake I don’t understand. LogComponent.html:24 ERROR Error: InvalidPipeArgument: '[object Object]'…
-
-1
votes1
answer505
viewsDoubt routerLink and route.navigate(<route I want>)?
'Cause when I use the routerLink the destination tab executes the commands inside the ngOnInit() and when I use the this.route.navigate([<rota de acesso>]) is not executed? I wonder if you…
-
-1
votes1
answer1071
views -
-1
votes1
answer100
viewsHostlistener to listen to a variable
I’m trying to implement an event HostListener to listen to a variable change. I have an example that’s working, but you’re listening to the whole page and I just want to hear a little piece of code.…
-
-1
votes1
answer533
viewsHow can I pass multiple parameters in an HTTP request at Angular 6?
Below I have my class of services, but when performing the search with parameters, the parameters are not passed to the request. Can someone help me? import { HttpClient, HttpHeaders, HttpParams }…
-
-1
votes1
answer1488
viewsAngular - Can’t bind to 'ngForOf' Since it isn’t a known Property of 'div'
In an Angular8 application the component created does not identify the *ngFor command, and returns error: Can't bind to 'ngForOf' since it isn't a known property of 'div'. View Accounting Component…
-
-1
votes1
answer11
viewsbackground image in div
Does not show image <div style="background-image:url(http://localhost:4200/assets/images/background/login-register.jpg);"></div> Typing like this in the browser,…
angular-6asked 4 years, 7 months ago Guilherme Costa Lopes 47 -
-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
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…
-
-2
votes1
answer93
viewsWhen recording caught a bad request using angular 6
When I try to record in the bank, I get error (400) bad request, when I insert by Postman two fields of the type of an object returns an empty array([]). I’m sure the sending of the data is wrong,…
-
-2
votes1
answer62
viewsIs it possible to pass parameters from one application to another via Query String? Angular 2+
I have 2 applications Angulas, Application 1 and application 2. I need to pass via query string the token of application 1 to application 2. Does anyone have an example? I am lost and found nothing…
-
-3
votes1
answer282
viewsI can’t get my mat-table popular
This is my html with the mat-table <div> <table mat-table [dataSource] = "dataSource" class="mat-elevation-z8"> <ng-container matColumnDef="codigo"> <th mat-header-cell…