Questions tagged as 'angular'

1
answer

Angular Error NG Serve

Does anyone know why this error is occurring? ** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ ** 91% additional asset processing scripts-webpack-plugin× 「wdm」: Error: ENOENT: no s...
asked by 22.10.2018 / 16:19
1
answer

Formatting Angular Data

Hello, I have the following string: Tue Oct 16 2018 00:00:00 GMT-0300 (-03) And I wanted to format it in dd/mm/yyyy and my goal and stay 16/10/2018 How would I have to do this formatting process?     
asked by 16.10.2018 / 22:01
1
answer

Change CSS property in TypeScript (Angular)

I have a list that when I click on it, I need the display: listview to be changed to display: none . My list is composed like this: <li class="sub"> <a class="dropdown-item waves-effect" (click)="verificaPermissao...
asked by 15.10.2018 / 20:29
1
answer

Save results from a function in a variable Ionic 3 + Firestore

How do I save the result obtained in r.get ('quant') into a variable and return its value, because the first console.log shows the data I got, but the second does not, and the return quant always shows undefined on the console. getQuantProduto...
asked by 17.10.2018 / 02:25
1
answer

Angled core module error

I am implementing the CORE module but it is giving error: ERROR in: Unexpected value 'CoreModule in C: /dev/master/src/app/core/core.module.ts' imported by the module' AppModule in C: / dev / migration-radios / new / master / src / app / app.mo...
asked by 12.10.2018 / 04:50
1
answer

How to add values in the keyup using angular?

I have a field that I need as I type values, it will add up to a variable. I tried something like: <input (keyup)="somaEstoque($event)" #inputestoque type="text" name="estoque_variacao{{i}}" class="form-control" id="estoque_variacao{{i...
asked by 17.10.2018 / 14:22
1
answer

Remove tag from angular component 6

Is there any way to render only the content of the component by hiding the tags? How it works: <ul> <li-component> </li-component> </ul> Render: <ul> <li-component> <li>...
asked by 19.10.2018 / 22:11
1
answer

Inference dependency injection in Typescript - Angular 6

I'm doing the front end of a project using Angular 6, however I'm new to both Angular and Typescript and I'm trying to use the Typescript interfaces as in Java, injecting them to use the methods and tals, the problem is the following: * I hav...
asked by 19.10.2018 / 20:44
0
answers

Angular 6 - Load Reactive Form after Http request

I am having trouble displaying a list of clients obtained by a GET request in a select component. Because GET is asynchronous, the form is being built before the request is finished and hence the select is empty. If I refresh the page, th...
asked by 19.10.2018 / 20:59
0
answers

Deploy Angular Application

I'm trying to deploy angular but I'm having problems in the production environment (kinghost or github pages) Locally (ng serves --proxy-config proxy.config.json) I use proxy.config.json which redirects my api routes, but the production envir...
asked by 09.10.2018 / 20:30