Questions tagged as 'angular6'

1
answer

How to install Font Awesome 5 in Angular 6?

Since I do not use yarn search for npm ( link ). In src / app / app.module.ts    Import {FontAwesomeModule} from '@ fortawesome / angular-fontawesome' I add it to imports    FontAwesomeModule And this causes m...
asked by 03.10.2018 / 17:13
0
answers

how to save selected checkbox in array, with angular 6

I have several checkboxes as follows: ts: sectores = [{ sector: "Turismo" }, { sector: "Publico" }, { sector: "Privado" }, { sector: 'Taxis' },{sector:"Carga"},{sector:"Empresarial"}] html: <div class="form-group">...
asked by 02.01.2019 / 22:39
1
answer

Add token to web service header rest angular6

Good morning, I have a rest webservice made with spring boot that works correctly when the token was sent by postman but when sending it from my front it does not work correctly, it showed that the token sent from another application travels...
asked by 20.12.2018 / 15:58
0
answers

Select city using Google MAPS API Angular 6

I'm working with Angular 6 and I'm using the Google MAPS Directions API. I have the suggestions of the Google API but when I select any suggestion I can not get the complete text that I selected. Example: If I select the option Verac...
asked by 08.12.2018 / 02:00
0
answers

Angular 6+: auth0 / angular-jwt Problem querying method isTokenExpired ()

I have the following problem to try to use a library-based service auth0 / angular-jwt The service is as follows: import {Injectable} from '@angular/core'; import {JwtHelperService} from '@auth0/angular-jwt'; @Injectable({ providedIn: 'ro...
asked by 03.12.2018 / 22:08
0
answers

Seeker with throttle Angular 6

I have armed a search engine and I want the search engine when I write not to pull a search with every letter that I am writing even when I have not finished typing what I am looking for. I know I can use the throttle or throttletime method (I d...
asked by 24.11.2018 / 16:34
0
answers

Show JSON Object from MongoDB

I have a problem showing an array of a JSON object from MongoDB. The Ajax request works correctly and the data is displayed well by the console. My problem comes in the view, when I try to show that data in the html and the component cl...
asked by 19.11.2018 / 16:47
1
answer

Character Counter with TypesScript

I'm new here. I'm interested to know if anyone knows how to make a character counter in a textarea with typescript. Since I do not do in JavaScript and with Php. But now I'm using ionic 4, Angular 6 and TypeScript. Thanks in advance for the supp...
asked by 30.10.2018 / 15:09
0
answers

equivalence of $ .watch of angularJS 1.x in angular 6

I have a sidebar and an Angular Material toolbar that should only be shown if the user is logged in. Now, I have a service to determine if the user is logged in that has a method that returns true / false. The problem is that the login is...
asked by 31.10.2018 / 02:18
0
answers

Pug in angle 6 does not consider brackets or elements without value in the template

I have been working with jade and angularJS 1.x using Prepos; Now that I have migrated to angular 6+ angular material I have the problem that the HTML result of the compilation of pug does not consider the following: mat-icon.my-icon(*ngIf="es...
asked by 30.10.2018 / 17:40