Questions tagged as 'angularjs'

1
answer

Using ng-style for a boolean variable within a ng-repeat angularjs

I have a listing like this: <tr md-row md-select="cali" md-select-id="name" md-auto-select ng-repeat="cali in vm.calibracoes"> <td md-cell>{{cali.idCalibracao}}</td> <td md-cell>{{cali.pessoa.nome}...
asked by 01.12.2018 / 18:55
0
answers

How to handle POST request in laravel that were sent as parameters?

Define a route this way in the API: $this->router->post('/logo', 'MinhaContaLogoController@adicionarLogo') However my client request sends a parameter in the URL in method POST: /logo?fileapi154288602223716 Since this route does...
asked by 22.11.2018 / 12:49
0
answers

Scan the whole page and create an Array with values

I have this screen: IneedtoscanthescreenbyclickingontheVenderbutton,andgettheCodigo,QuantidadeandValor,forproductsthatTotalAdicionadoisdifferentfromBranco,youcandothisandcreateanarraytoinsertintothedatabase?Thisisthescreencode:<divclass="...
asked by 20.11.2018 / 18:59
0
answers

Passing the character limit the text field

I have a combo "Type Person" with the options (1 - Physics | 2 - Legal) and I need to limit the size of standard characters to fill in the text field "CPF / CNPJ". In fact, I need to validate the text field for when selecting the combo type p...
asked by 21.11.2018 / 14:00
0
answers

Calculate difference between dates AngularJS

I'm looking for the difference of months between two dates: current date - date entered in the bank. But no ng-repeat always displays the difference (months) of the largest date. In the sample image the current date-date activation...
asked by 21.11.2018 / 22:39
0
answers

AngularJS - Choose item from a form and create list

Hello I have a json file with items, I need a form that when entering one of the items, it is loaded into a list along with the other information of that item and is saved in a list in the view. I have the form that when entering the item thi...
asked by 12.11.2018 / 14:11
0
answers

How to kill the instance of $ uibModal?

In the code it keeps recreating the instance, and never kills ..., inside the controller of the modal, it keeps executing the init again and again, ie it is not killing the instance, what would be the way to kill the instance, type already tried...
asked by 12.11.2018 / 14:09
0
answers

Error in saving the third table - conflict in Integer and Long

I need to save on three tables. I can save the first two [simulations] and [response_investors]. I need to save the data in the table [background_simulation] ... When executing the project, you are displaying the error when saving in the s...
asked by 13.11.2018 / 17:30
0
answers

Show modal data Angularjs

Does anyone know a way to make the code below more dynamic. I update some records in modal and always pass the parameters on the button and then the scope to be able to rescue the data. Is it a more practical way? /* altera status para neg...
asked by 06.11.2018 / 21:00
1
answer

Update tbody when selecting option in ng-options

I need to update a div after selecting the option in ng-option. Controller.js $scope.prop = { "type": "select", "name": "Service", "value": "CDI", "values": [ "CDI", "IBOVESPA"] };...
asked by 08.11.2018 / 12:47