Questions tagged as 'angular'

2
answers

Insert an Excel file in PostgreSql

I am looking for information on how to insert an Excel file in PostgreSql, but I can not find information, there is no guide or tutorial from scratch, all are concrete problems on the internet. My intention is for the client (Angular2) to sen...
asked by 12.07.2018 / 11:48
1
answer

Remove negative scale ng2-charts

I am working with ng2-charts and I would like to know if there is any way to remove the negative scale de la graph cuando esta este en 0 , solamente ocupo que se muestren the positive scale , estoy utilizando L...
asked by 09.07.2018 / 19:28
1
answer

Convert an observable to a local array

Save the value of the observable array in a local array and use it to add more users, since the remote server link it does not allow to edit the data, it is test. user.component.ts users: User[]; getUsers() { return this.userService....
asked by 26.06.2018 / 14:50
1
answer

Error with autocomplete in Angular, values are duplicated

I am trying to use the autocomplete of angular material, but when leaving them inside a ngFor to be dynamic (I need to create a list of items) the value of the last thing that I wrote in any of them is duplicated, Code with the problem link...
asked by 28.06.2018 / 22:23
1
answer

Error: StaticInjectorError (AppModule) [HttpClient]:

I have the following code in TypeScript, the problem is placed when the constructor passed the variable validarUsuario gives me this error in the browser console:    Error: Error: StaticInjectorError (AppModule) [HttpClient] What i...
asked by 18.07.2018 / 21:31
3
answers

Read Json ionic 3

I need your help on how to read or how to process data from a JSON (Object) that comes from a Java WS. What I've done is use HTTP from IONIC; the server responds correctly My question is how to read this Object (jSON) in IOnic. My WS return...
asked by 12.06.2018 / 16:01
2
answers

Get a specific object from a list in Firebase

I have a list of publications in firebase, I am developing an algorithm to obtain a random number and with the power to request an object from lst_publications to firebase, my random algorithm tells me what position (number) of the object...
asked by 28.07.2018 / 01:28
1
answer

Ionic | How do I put an icon to the left of ion-label?

Can someone please help me how to put an ion-icon on an ion-label on Ionic? I tried it this way: <ion-item color="quest"> <ion-label floating ion-left>Correo Electronico</ion-label> <ion-icon name="...
asked by 15.06.2018 / 00:11
2
answers

Observables, promises are driving me crazy

I have a small code where I read a json to get the current online version of my data the idea is then compare with the local version saved with sqlite and if it is smaller then download the rest of json and update my BD. this.ht...
asked by 06.06.2018 / 00:08
1
answer

How to get a variable in external file js and use it in angular cli?

Good I have the doubt as I can use for example a variable declared in js in an external file and use it in angular cli example: @angular/cli: 1.7.4 @angular-devkit/build-optimizer: 0.3.2 @angular-devkit/core: 0.3.2 @angular-devkit/schematics:...
asked by 02.07.2018 / 18:59