Questions tagged as 'angular'

2
answers

Sort data by date in Firebase

I would like to sort the data returned from Firebase by the Expiration Date, I am currently doing the following: this.Collection = document.collection('values', ref => ref.orderBy('data_vencimento')); But as can be seen in the image belo...
asked by 13.03.2018 / 17:03
1
answer

Angular TypeScript input change event

I have an input field that starts with a number ('.2-2'). This input is updated when a select field modifies its value. When this field is modified, the value of the numver input does not obey the formatting. The default value is formatted by de...
asked by 13.03.2018 / 14:56
1
answer

how do I change the color of an html element based on its value using angle 1.6.4

I need to change the color of the student's status on the page, and I wanted to do this using the angle, can someone help me how do I do this using the value of the element? HTML: <tbody> <tr ng-repeat="item in filtered = (f...
asked by 05.03.2018 / 12:12
0
answers

How to correctly use Ngrok with Angular-cli?

Is there any correct way to use Ngrok with Angular? I'm trying to do a tunneling for my application that runs on localhost, creating a random web (URL) to make available on the internet, so I can run Moip Signature Webhook API tests. It ha...
asked by 03.03.2018 / 02:55
1
answer

Check the input and then click the button

What I do for only if the input is checked is that the person can click the "ok, I got it". <div class="container"> <button type="button" class="btn btn-info" (click)="openModal(template)">Create template modal</button>...
asked by 10.03.2018 / 01:20
0
answers

Routes with HTML Files

I am creating a manual with the angle and I need to create routes with html files without having to create a component for each route. How do I do that? Briefly I would like to do routing with html files. Thanks in advance for your attention...
asked by 01.03.2018 / 19:58
1
answer

Problem when recovering JWT in Angular

On server-side I have a service using Spring Security and JWT for authentication and authorization, on the client side I have a SPA in Angular. The problem occurs when I try to authenticate because I get 200 as a status code, but I can not recov...
asked by 07.03.2018 / 12:34
1
answer

View Angular + Json ionic 3

I'm trying to display json from a search in my app, but I do not know how to do that. hereisintheappdisplayingintheconsole,butwantedtodisplayintheapp myhtmlcode <ion-header><ion-navbar><buttonion-buttonmenuToggle><ion-ico...
asked by 06.03.2018 / 20:56
0
answers

Select with default value default Angularjs

Just by defining an ng-Model select does not default to all values. Does anyone know why? I start StatusRespNaoResp = 0 in the controller. <div class="btn-group"> <select name="iconeTopico" id="iconeResp" class="spam3" styl...
asked by 28.02.2018 / 16:31
2
answers

MaskMoney w / Jquery or JavaScript

How to create a mask for values in Reais R $? I tried using link but I did not succeed. I'm in need of a mask to present me with something like this: R $ 0.01 R $ 0.10 R $ 1,00 R $ 10.00 R $ 100.00 R $ 1,000.00 Something like this !!!     
asked by 26.02.2018 / 19:26