Questions tagged as 'angular'

1
answer

InnerHTML angular 5 does not respect width

I'm painting the response of a service inside a modal with innerHTML. But this is not respecting the width of the modal itself and is writing in the same line to infinity. The modal is a bootstrap ngbModal link Has anyone had to deal wit...
asked by 10.12.2018 / 18:00
0
answers

load Lazy my child components in Angular

I'm learning angular and I'm trying to do component loading of Lazy form. With the help of the documentation I have a father element and in charge a child without problems, but what I want is in the son to load another child. That is, I have a l...
asked by 10.12.2018 / 15:45
1
answer

How to save from an angular form to a server nodejs an image

I'm doing a web page with angle and nodejs , I want the workers that register have the option to save a profile picture, then I have a form of angular (ngForm) and such and I have put an input file for the upload, up there well. On the fr...
asked by 05.12.2018 / 21:23
0
answers

Angular Firebase go through firestore in 2 different collections

this question is quite complicated, I'm doing an app of chats in angular with different collections in firestore, I have a collection for chats, which goes first the name, then the info, as shown here: And then another collection with trend...
asked by 07.12.2018 / 01:42
0
answers

Send form with hidden field Angular 6

I try to send a form that contains a typo hidden input, which I need to contain a value. I do it this way: <ion-input type="text" [(ngModel)]="userData.token"></ion-input> <ion-input type="password" [(ngModel)]="userData.new_pas...
asked by 05.12.2018 / 03:17
1
answer

Pass a variable between components | Angular 7

I have an application that shows some categories for example the url of 1 category would be like that and the components would be CategoryComponent ... miweb.com/patienetes / and I want that when you press a product from the category page...
asked by 02.01.2019 / 17:07
0
answers

bring data of an attribute of type reference with angular?

good I am developing an application, which I have people and area in the person object I have an attribute that makes reference to the area that is registered: and my angular person object I have it like this: import { area } from "....
asked by 02.12.2018 / 02:08
0
answers

reference handling in firebase?

Good I am new using firebase, what I have now is "component" and activities, an activity leads as a reference to a component: What I want to do is a component I list all its activities, I use angular-firebase 2, my service of my test proje...
asked by 30.11.2018 / 19:51
0
answers

Error creating a Schema with a field of type file in NodeJs

const mongoose = require('mongoose'); const {Schema} = mongoose; const empleado_schema = new Schema({ dni:{type:String,required:true, unique:true}, nombre:{type:String, required:true}, apellidos:{type:String, required:true},...
asked by 03.12.2018 / 19:51
0
answers

Angular6 scss selector

Angular6 use with scss. I have a component A to which the styles of class .estilos-A are applied and I call it from two different components. What I try to do and I do not achieve is that, depending on the component since I call A , th...
asked by 29.11.2018 / 23:13