Questions tagged as 'angular'

1
answer

Deploy Application Laravel 5.2 + Angular2

I'm developing a small application with Laravel 5.2 and Angular2. So far everything is ok in the development environment (not to contradict :)). My concern is how to deploy this application to a shared server - in which case I'll be posting on K...
asked by 31.08.2016 / 21:09
3
answers

Error compiling Angular project 5 "is missing from the TypeScript compilation."

When I try to run the angular server to test the project it fails to compile with the following error: ERROR in ./src/app/shared/objeto/Venda.ts Module build failed: Error: F:\Xampp\htdocs\www\Angular\fidaliza\src\app\shared\objeto\Venda.ts i...
asked by 28.02.2018 / 01:56
1
answer

How to Extend / Inherit Angular Component2?

Doubt I would like to create extensions for some components already implemented in Angular 2, without having to rewrite them almost completely, because the base component could undergo changes and I would like these changes to be reflected...
asked by 06.04.2016 / 20:26
1
answer

How to create a RESTful API with asynchronous processing and response using C # + Angular (v5 +)

Hello, I'm working with C # and I have the following problem: Imagine that I have a route for my API api/estoque/inventario where this route should calculate the inventory of the entire inventory of the application and on demand return...
asked by 04.09.2018 / 15:35
0
answers

AngularJS x Angular 2 x Angular 4 [closed]

I have observed a small controversy with these terms in the title of the question. Many people have referred to Angular 2 onwards as "AngularJS" which in my point of view is wrong, the correct one would only be "Angular" from version 2 onwards....
asked by 20.07.2017 / 22:21
2
answers

How to insert an HTML file with [innerHtml] and maintain the attributes of the Angular

In my Componente I get HTML in the form of a String and use [innerHtml] to insert this HTML into the Component View. Component: test(){ alert('Teste :D'); } html_string = '<input type="button" (click)="test()">'; View:...
asked by 16.03.2018 / 23:18
1
answer

Must the field rule be in the backend or frontend?

I'm building an application where the backend is an API and the frontend is Angular2. In a user's registry I do a validation in the API and if a required field is not filled in the API returns an error stating the field that should be man...
asked by 11.12.2016 / 14:43
1
answer

Bring id on route

I'm doing a user management. At the moment, I'm creating the put to edit. But, I do not know how to bring the id on the route. There is a list of users and also an insert. When the client clicks on the button to recover the password, I would...
asked by 01.11.2017 / 19:55
2
answers

GroupBy in Javascript

I'm getting the following result from a query: [ { "disciplina": "Portugues", "periodo": "1º Bimestre", "tipo": "1ª avaliacao", "valor": 9.5 }, {...
asked by 04.02.2017 / 01:32
1
answer

What does it mean _: e _

What does _: e _ mean? in the definition of functions as in the example below. constructor(){ router.events.subscribe((_:NavigationEnd) => this.currentUrl = _.url); } I have many doubts about it.     
asked by 04.08.2018 / 16:36