Questions tagged as 'angular'

1
answer

Select option select and send data in input according to the selected option so that it enters a different function

I have a% co_of% of 27 options and a% co_of%: Depending on the selected option of select I have to send a different data in input as well as have to enter a function. <div class="select" *ngIf="bandcatalogonis" > <sel...
asked by 13.08.2018 / 19:14
2
answers

Open PDF Typescript

I'm trying to show a PDF with Typescript, it comes to base64 and I decode it to see the array of bytes. The PDF of opens, but blank, the pages coincide, but it is all without content. The content in base64 I leave here PDF in Base64 R...
asked by 28.11.2018 / 11:04
3
answers

Login system with Angular 2

I am doing an initial login system in Angular 2 that searches for the user and password in an API. I am trying to use a token authentication system, and I have started from the model found on the following website to not start from scratch: lin...
asked by 27.05.2017 / 13:13
2
answers

Format Input text with dotted format in thousands and decimal places

I am trying to create a directive or other element that allows me to show formatted an input text as 12.345,67 and to enter the decimal point (,). Examples:    Thousand, formatted should be 1,000       Thousand with 53 decimals,...
asked by 18.05.2018 / 13:58
1
answer

How to add an angular aniamtions with parameters from ... component.ts? [closed]

I know how to add animations with parametres from HTML, as follows: Animations.ts trigger('slowXMove', [ state('posX1State', style({ left: '{{posX1}}px' }), {params: {posX1: '0px'}}), state('posX2St...
asked by 04.09.2018 / 09:59
3
answers

Call API with Angular credentials

I have an application in Angular, which I want to make a call to a secure (endpoint) API with credentials (user & password). I can do it with Ajax, but not with Angular. AJAX / JQUERY Code: jQuery.ajax('https://www.ENDPOINT.com/api/F...
asked by 04.12.2018 / 09:47
2
answers

How to modify the messages of an input validation? in Angular

I take this as an example: The html <div class="md-form"> <input mdbInputDirective type="text" id="nombre" class="form-control" formControlName="nombre"> <label for="nombre">Nombre</label> </div>...
asked by 26.09.2018 / 22:53
1
answer

Monitor App on Angular 6 and Nodejs API [closed]

I have designed a Web with Angular 6 and a back-end with Express and NodeJS. I have the idea of a dashboard to monitor the number of visits, how many queries to the API perform, events click on the front ... I'm lost and I'm not sure where...
asked by 13.12.2018 / 20:55
1
answer

Bootstrap problem

Hi, I'm doing a website, and I have a problem. I'm doing it with Angular and bootstrap. The main page consists only of a navbar a body of news and the footer because when I create it, the footer and the news body remain the same length but the n...
asked by 27.11.2018 / 19:31
3
answers

What is the version of angular that I have installed?

I'm trying to know what version of angular I have installed on my laptop but I do not get that information     
asked by 17.10.2018 / 00:10