Questions tagged as 'angularjs-2.0'

1
answer

Angular firebase member not exported

How are you? I'm new to angular and I'm following a YouTube tutorial and everything was fine until it started with Firebase (which I did not know). Total that has commented that it should follow the documentation of angular firebase 2. ( l...
asked by 30.10.2017 / 22:14
1
answer

POST with URLSearchParams (); It does not work

Hello I try to make a post for a login and I do not send the data, this is the code .. IONIC import { Injectable } from '@angular/core'; import { Http } from '@angular/http'; import 'rxjs/add/operator/map'; import { URL_SERVICES } from '../.....
asked by 18.10.2017 / 20:36
1
answer

How to remove the json from the subscribe to pass it to an object?

I have a problem. It happens that I have a json data that I receive from the database, and when entering the service that the json brings me I enter the subscribe and assign the data json to a variable. but the problem is that using the varia...
asked by 27.09.2017 / 18:37
1
answer

How to mark a checkbox of a Primeng datatable?

I have this array of information this.userLanguage = response.lstLOV; that contains this data: 0:{languageId:"en",languageName:"English",seleccion:true}, 1:{languageId:"es",languageName:"Español",seleccion:false}... In my table I show them...
asked by 04.09.2017 / 22:28
1
answer

See the console.error exit in Cordova?

I am programming an application in angular2 for cordova, when I run it in the browser emulator it works without problems: > cordova run browser The problem occurs when I package it in an apk and install it in android: > cordova run...
asked by 17.08.2017 / 21:37
2
answers

sort from largest to smallest array of objects extracted from firebase with angularfire2

I need to sort this array of objects ben: FirebaseListObservable<any>; e93menor = 9999; e93mayor = 0; this.ben = this.database.list('/Bencina'); this.ben.forEach(element =>{ this.b = []; element.forEach(ele =&...
asked by 24.08.2017 / 21:51
1
answer

Web services with php for firebase

hello everyone and thanks in advance, I wanted to cosultar, the way to work with a web sevices in php to colsultar data in firebase, since when working with angular2 the data that I store is committed to leave the connection in enviroment, my in...
asked by 19.07.2017 / 03:05
1
answer

json data optimization for better extraction

I need guidance as to how to structure some data for a better extraction and utilization of these. The data I have has a structure similar to this: Clima-> region->provincia->ciudad->Farmnacias-> Bencinas-> informacion_adi...
asked by 12.07.2017 / 07:00
1
answer

How to do a re-render to an Angular 4 component?

I'm starting with ionic and I have a menuToggle that is shown only if the user is logged in, the conditional is in the template of the menu and I use the * ngIf="login" to determine if it is displayed or not, but I could not Once the user logs i...
asked by 31.07.2017 / 18:57
1
answer

How to make a ngIf within an * ngFor Ionic 2

Good afternoon, I'm learning Ionic 2, I have the following code: <ion-card *ngFor="let data of lista"> <ion-card-content > <ion-card-title> {{ data.description }} </ion-card-title> <ion-grid >...
asked by 07.07.2017 / 21:07