Questions tagged as 'angular'

0
answers

Auto refresh browser

Good afternoon, I'm doing some testing on trello and I liked the function where when a card is created, another computer receives the notification and this same card appears without the need to update the browser. I would like to know how this w...
asked by 26.02.2018 / 20:22
1
answer

How to display image with Angular 2+

I have the code below where I need to display an image coming from the database, the image is coming here as a byte how to display this image on the screen? <!-- Listar As Bebidas Alcoólicas --> <div class="card-columns" *ngIf="be...
asked by 25.02.2018 / 20:37
0
answers

Problem in bar layout using ng2-charts Angular2

I'm using the Bar Chart from ng2-charts Angular2 follows the documentation: Documentation And I'm having to manipulate the width of the bar and I'm not getting any success ... Follow the code: HTML: <canvas baseChart id...
asked by 20.02.2018 / 14:00
1
answer

Disable Initial Validation of the Angular Form

this.loginForm = formBuilder.group({ 'login': [null, Validators.required], 'senha': [null, Validators.required], 'estabelecimento': [null, Validators.required], }); Here I have my Validators <form class="inputsLogin" na...
asked by 20.02.2018 / 13:07
0
answers

Dinamic RouterChild or Dinamic Routes: How to do in 2+ angular?

I'm trying to make a dynamic route on Angular using version 5. The idea is to receive data from a service, and implement a menu, such that not only the names become dynamic, but also the routes.     
asked by 21.02.2018 / 16:37
1
answer

Angular multiple ngif else passing parameter in template

Is it possible to do two ngIf in the angular.html? follows an example if(1=2){ }else{ if(){ } } I need to do two checks. Check teacher restriction if false to check classroom availability. if an example of my code. I'm new to...
asked by 13.02.2018 / 20:48
1
answer

REST / JAVA + ANGULAR2 authentication

I have a api rest in java and need to perform an authentication (login / password). I'm building on this java code that uses Jwt: link My question is: how to treat this token in the angle and authenticate the user? Every source of study is...
asked by 11.02.2018 / 15:41
1
answer

Ionic - Problems Pulling PHP Database Data

Hello, I would like to know how I can pull the data from the database already with the tags in html. I write the data and they come normally, but my table is composed by title, content and in this content I put texts like this: <p>exe...
asked by 12.02.2018 / 13:42
0
answers

How to eliminate these excessive callbacks when using promises and subscribes in TS?

I'm working with ionic 2 and need to make a request in the storage to redeem a previously saved token, after making this request I need to send this token to the API for it to be validated. The problem is that I am polluting my code with Prom...
asked by 14.02.2018 / 18:37
0
answers

Angular No Heroku Does Not Access URLs Typing

I would like to ask a question, I am doing a soft with Angular 5 and Restful WebService when I test local I can access the URLs normally directly when I try to do this with the application in Heroku does not work, it only works things out when i...
asked by 19.02.2018 / 03:45