Questions tagged as 'angular'

0
answers

how can I get a value that is within two dictionary

I have the value objeto={canal_venta} but if I print canal_veta it throws me {u'TEXT': u'RED', u'VALUE': u'RED'} that is, how can I access the sales channel value? I was trying this way, but it's wrong print objeto["can...
asked by 20.08.2018 / 15:09
0
answers

I can not render the API data in Angular2

I have my Contacts component, but I can not show the names of the array in the view, which is wrong in my code. ContactsList.ts import { Component, OnInit } from '@angular/core'; import {HttpClient} from '@angular/common/http'; @Component...
asked by 17.08.2018 / 23:05
1
answer

Rendering problems with Angular4 / Typescript

In relation to Angular 4 , when I make changes in variables that are called through {{ }} , there is no change in html . Also, if I write the ng serve command, I get the following error:    Local workspace file...
asked by 15.08.2018 / 11:56
1
answer

Autoincrement id in angular

I have this line in angular, what I want to do is that the id self increases depending on how many images it consumes, I'm clear I'm consuming a service that is being exposed in json <img id="slide-img-" class="img-item2" src="{{ Our.url }}...
asked by 25.08.2018 / 01:03
0
answers

Receive sass variables from firebase with angular

Hello, how are you? I need help with a consultation my absent programmer and I work layout but basic I explain in detail: I want to dynamically modify the colors of ionic, ionic has a directive called color="" I want that directive to re...
asked by 08.08.2018 / 20:11
1
answer

Pass object by (ngModelChange) Angular 6

As I could pass my object "item" that is in the for "mat-option" to the directive (ngModelChange), I need to be able to have this object in my "onChangeService" function, the only thing that happened to happen that way the value of [value]. I...
asked by 10.08.2018 / 01:01
2
answers

consume data from a JSON file in angular2 +

I need to get data from an external file, for example leave 2 service paths in an external file inside the assets folder, then from the servicio.ts get those URLs from the external file. is it possible to obtain data from an extern...
asked by 11.05.2018 / 04:51
1
answer

Ionic angular firebase bring all the data of a collection

I appeal to your help, because I do not know how to solve this. this is the structure of my collection I need to bring the data: name, description and photo of each one. in my provider I was doing it this way and then, I was calling...
asked by 04.08.2018 / 23:09
1
answer

* ngFor to get the firebase key

Hello, my firebase structure is something like this: firebase contenedor1 caja1 caja2 contenedor2 caja1 contenedor3 My problem is how to get the containers with ngFor what I do is this <ion-select [(ng...
asked by 09.08.2018 / 02:59
0
answers

How to validate the child component form from the father? Material Design - Angular 6

I have a parent component, inside it I have three sibling components (sons of the father), I have tried to perform the form validations from the parent component using "FormBuilder" and "Validators" but it does not show me the red underline (mat...
asked by 02.08.2018 / 17:26