Questions tagged as 'angular5'

0
answers

Change in Angular 5

I do not know how to use the change in Angular. I need to bring one component to another. I am using a select, and each option of the select, is a component to which I must go. They tell me that I must use the change and a switch to achieve what...
asked by 27.03.2018 / 22:22
0
answers

Error IONIC 3 compile on iOS

the map in android runs me perfectly, but not in iOS. I have apikey configured for ios the screen is completely blank     
asked by 22.03.2018 / 03:42
0
answers

selected in multiple select in angular 4

How can I do a selected in angle 4 and the data coming from a json. my model is export class PvuserTenant{ constructor( public id: number, public int_user_id: string, public int_tenant_id: string, public...
asked by 22.03.2018 / 04:12
1
answer

Problem making requests to an api rest from angular 5

I have an api rest that I try from the postman and I get an answer without problems. "content": [ { "username": "john.doe", "password": "$2a$10$l1uYkX5AX3pul86A3O5mgujwff6dYDCepixCGwyMjslWP3frCoSpi", "firstName": "J...
asked by 29.03.2018 / 16:13
0
answers

Update the view of the child component, when the values of the parent change. Angular

I have a parent component that retrieves data from a service that I have to be calling every X time. I do this with a setInterval This parent component passes through @Input various parameters to a child component that is the one that...
asked by 22.03.2018 / 16:08
1
answer

problem with initializing object array because of the property of the variable

I have the following classe or model: export class Cuota{ constructor( public _id: string, public name: string, public description: string, public precio: number ){} } at the time of initializing thi...
asked by 13.03.2018 / 17:55
0
answers

Angular 5 bootstrap 4

I'm making an application with angle 5 and bootstrap 4, but making the main vertical component complicates everything. This is seen on large screens without problems: but then when I shrink the screen I get the html of the main component a...
asked by 13.03.2018 / 17:14
1
answer

Save a value of a link in Angular 5 to a cookie

One question, I'm new to this and I'm trying to take a value of one in angular 5 and pass it to ts of the component to save it in cookie . <a href="#" onclick="pulsar()" [routerLink]="['/rutas']" ng-value="Madrid" id="n...
asked by 14.03.2018 / 19:06
0
answers

make a Post correctly with HttpModule of angular 5

I always receive the error 500 import { Injectable } from '@angular/core'; import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http'; import { Observable } from 'rxjs/Observable'; import { AuthService } from...
asked by 09.03.2018 / 22:10
1
answer

use function js of external file inside angular component 2/4/5

my question is this, I have 2 functions in JavaScript function checked(id) { document.getElementById(id).checked = true;} function unChecked(id) { document.getElementById(id).checked = false;} I use these for not being able to check a che...
asked by 26.02.2018 / 17:13