Questions tagged as 'angular'

0
answers

modify angular graph

My friends are trying to solve a problem that I have been looking for solution on some forums and none specifically help me. I have a graph using piechart that renders a pie chart. But it works with fixed values, but I have a return from the...
asked by 14.05.2018 / 19:12
1
answer

Error in catchError of the tutorial Tour of Heroes of Angular 6

I'm a beginner in the angular, and I'm following the Tour of Heroes tutorial on Angular 6 and having problems with an Observable's catchError. This is the error that VSCODE sends me: Type 'Observable<{} | Hero[]>' is not assignable to ty...
asked by 12.05.2018 / 23:50
0
answers

Ionic - Firebase Authtencation

How do I register user with Authentication, I know it uses authState.createUser(''); . but with att there is no longer this property, would have some that replace? createAuthUser(user: {email: string, senha: string }): Promise<Firebas...
asked by 09.05.2018 / 14:51
0
answers

Search for first and last name with Angular

I'm making an application with Ionic v1 , and I need a search bar that looks for name and last name , but I can only get her to fetch the first name Search filter JavaScript code: app.filter('filtrarNome',function(){ return func...
asked by 11.05.2018 / 17:25
0
answers

Collect Date and Time on a Reactive Form

I'm developing a reactive form in Angular 5 and would like to store the Date / Time in a DateTime. In this case, the user should somehow inform the date and time of a specific event. However, I have not found a way to store this data directly in...
asked by 15.05.2018 / 03:53
0
answers

ngModel within ngFor

Follow the link with html and json, respectively: - link - link Problems If you notice, the "variable" type array has an ID, and that record is repeated on multiple objects. That way, I would like that when I fill in the value of som...
asked by 08.05.2018 / 18:16
0
answers

Angular - Passing of attributes from the Father to the Son with consultation.

I'm a beginner in Angular and I have a seemingly simple problem. I have a service that returns me a Promise: public getNFE(numero: string): Promise<Nfe>{ return this.http.get('${URL_API}nfe?numeroNfe=${numero}') .toPromise() .then(...
asked by 04.05.2018 / 02:50
0
answers

How to solve the problem of crashing the application when redirecting a page in Ionic (v3)

I'm developing an Ionic (v3) application that contains a list of products in Home, but when I click on a product it does not run anything and hangs the screen. The problem is that I can not get the error because it is in Ionic View. Does anyo...
asked by 09.05.2018 / 18:43
1
answer

ActivatedRoute does not call the service before updating the angular page 5

Hello, I used the RouterLink which passes an id to the url, I look for this id and I step as a parameter to the function that searches the api data, but when I click on my link it redirects to the route I want, but not shows my data I'm iteratin...
asked by 10.05.2018 / 19:57
0
answers

Send data via POST - MEAN STACK

When I pass a null value I get the backend function return, but when the value is not null, I get a bad request (400) error. See what I'm doing, what could be wrong? Error:    POST link 400 (Bad Request)       Failed to load link : In...
asked by 09.05.2018 / 20:11