Questions tagged as 'angular4'

1
answer

Make visible menu in Angular 4 after login

Good afternoon. I have an application in Angular 4, which performs a login by searching the parameters of a form in an API through an http request. The initial screen, where the login form appears, has a navbar and a footer, and in the navbar th...
asked by 08.12.2017 / 15:58
0
answers

Pass html / html through variable "sanitizer.bypassSecurityTrustResourceUrl" in Angular

--------- iframe.component.ts -------- import { Component, OnInit } from '@angular/core'; import { DomSanitizer, SafeResourceUrl, SafeUrl } from '@angular/platform-browser'; @Component({ selector: 'app-iframe', templateUrl: './iframe.comp...
asked by 01.12.2017 / 11:20
1
answer

Visibility of components based on the value of a variable in Angular 4

Good morning. I am making an application in Angular 4, which makes an http request to an API to perform the initial login, so that, if the request gives a result, the private part of the application becomes visible. Next I show the code of th...
asked by 28.11.2017 / 21:22
1
answer

Javascript: Set default value using DateTimePicker

Using JQuery within Angular with the following code: $('#fecha_ingreso').datetimepicker({ defaultDate: new Date('08/08/2012') }); HTML: <input type="text" class="form-control" id="fecha_ingreso" formControlName="fech...
asked by 28.12.2017 / 21:16
1
answer

How to set a property property of a model in angular 4

It seems to me that the property is undefined when you tried to initialize the property of an object at the start in the constructor. That happens in the template for example if I do not do this Object? .firstname = 'a'; He tells me that f...
asked by 29.11.2017 / 01:18
2
answers

Problem sending apikey in angular header http 4

I have an Api REST that requires the apikey in the headers to validate, I am doing the query with angle 4, but the apikey is not sent in the headers. If I do the query with PostMan it works without problem. I'm stuck at this point, I apprecia...
asked by 22.11.2017 / 01:18
0
answers

Problem showing the calendar of the fullcalendar

Good afternoon, I have a problem implementing the fullcalendar using angle 4, which is that it does not show me the dates, they only show me a list of numbers. This happens only with the calendar, the other components or functions, work well....
asked by 19.11.2017 / 21:31
1
answer

How to manage groups for access to buckets in Amazon S3

I am developing a serverless app on AWS with the javascript API in angular 4, I have a bucket mi-bucket in S3 with one folder per client ( mi-bucket/cliente1 , mi-bucket/cliente2 ). I have created a userPool cargaArchivo...
asked by 09.11.2017 / 00:10
1
answer

Help to integrate Angular 4 with external library

Good morning, I am creating an application with Angular 4 and I want to be able to integrate libraries js to the solution as they are: 1- link 2- link However, we have not been able to incorporate them, despite placing the library i...
asked by 08.11.2017 / 16:09
1
answer

What is the correct way to communicate a component that is not a parent / child?

Good afternoon you will see very little developed in angular and I liked the framework very much, but I do not know if what I'm doing is the correct way to communicate my components or I'm committing a sacrilege of the good practices of angular....
asked by 09.11.2017 / 23:29