Questions tagged as 'angular'

1
answer

ChangeDetectionStrategy Angular

While studying Angular 6 I was seeing that it has different strategies of how the component is updated according to the Events, XHR and Observables within my application. After much research I did not find any content in Portuguese about this...
asked by 12.09.2018 / 20:00
1
answer

Error trying to update a post in WordPress using the WP REST API plugin

   Hello, I'm new to WordPress and need (to yesterday) to solve this problem. Help! I'm creating a simple integration in Angular 2 (v6 +) that accesses the api generated by the WP REST API plugin and the json I am sending is with the fol...
asked by 12.09.2018 / 04:36
4
answers

Can not read property 'name' of undefined

Gentlemen, I'm making this mistake while running my registration form ..    ERROR TypeError: Can not read property 'name' of undefined       at forms.js: 3282       at forms.js: 3222       at Array.forEach ()       at FormGroup.push .. / node...
asked by 11.09.2018 / 21:14
1
answer

Angular-cli ng generate library does not work

I have a project in version 5 of Angular, which generates a library using the rollup and works correctly. However I'm migrating from version 5 to version 6 of angular and wanted to use angular-cli, which already generates a library in the same p...
asked by 13.06.2018 / 15:23
1
answer

How to generate my PostgreSQL BaseURL (link) that is in Heroku to integrate with my Angular front end?

My question is: how do I generate the link (baseurl) so that my front-end accesses the data coming from that database (PostgreSQL) > Heroku ? My PostgreSQL there from Heroku releases this information: As img above I have host ,...
asked by 09.05.2018 / 14:53
1
answer

Problem not get using google API with Angular

I have an angled application that should search the Google API for long and lat. I created this method below to set up my call HTTP.GET() : ObterGeolocalizacao(): Observable<any> { const cep = this.formulariServices.ObterFor...
asked by 07.06.2018 / 16:26
1
answer

How to include an external Javascript file in the angle?

In my old projects I was able to take advantage of a lot of my css codes when I started to create my projects in Angular, the research knew of a file called styles.css that is inside the src folder and inside it the app folder. / p> This part...
asked by 16.04.2018 / 16:50
1
answer

Calculate and Decrease Values in Array

I'm trying to decrement and calculate values from an unsuccessful array. The decrementation works to a certain extent, then decrements different values from what is clicked on the checkbox and the calculation appears on the console as NaN....
asked by 19.03.2018 / 03:10
1
answer

Property 'includes' is missing in type 'Subscription'

I want to map the list of questions and throw them in the questions property of my JSON object, but at the prompt gives this error:    "ERROR in src / app / form / questions / questions.component.ts (19,5): error   TS2322: Type 'Subscription'...
asked by 11.03.2018 / 22:54
1
answer

Convert JSON to Object with different structure

How can I convert this JSON: {"cliente": [{ "cliente_cpf": "43900404640", "cliente_nome": "Luiza", "cliente_sobrenome": "Azevedo Carvalho", "cliente_genero": "Feminino", "cliente_nascimento": "2000-03-18", "cliente_email": "Luizaazevedocarvalh...
asked by 21.02.2018 / 21:18