Questions tagged as 'angularjs'

0
answers

Client-Side and Server-Side Filter

Good afternoon everyone, I am a beginner in programming, I am studying a lot but it is something that from day to night, it is not possible to capture everything rsrs .. and they put me to do some things of operation that for me is already very...
asked by 17.07.2018 / 22:00
1
answer

How to get parameters URL AngularJS

How to get URL parameter with AngularJS. If anyone has an example I would appreciate it. $scope.pegaCNPJ = function () { var cnpjs = $("#prospectCNPJ").val().replace(/[^\d]+/g, ''); $.post('models/verificaCliente.php', {p...
asked by 18.07.2018 / 02:57
0
answers

help, add more fields

in this code: @for (int i = 0; i < QtdNumero; i++) { <div class="form-group"> @Html.Label("Telefone ", htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10"> @Html.Edit...
asked by 06.07.2018 / 22:42
0
answers

Angular jsonp return

What's wrong with this request. The error that appears in the console is $ sce: insecurl. Untrusted source resource ... $scope.pegaCNPJ = function () { var cnpj = $("#clienteCNPJ").val().replace(/[^\d]+/g, ''); $http.json...
asked by 05.07.2018 / 02:26
1
answer

Error executing unit test in KarmaJS

Good afternoon, When running the unit test in KarmaJS I have the following errors: I use AngularJS with RequireJS, AngularAMD and Instanbul.    ReferenceError: Can not find variable: module And when I change the line in the test.spec....
asked by 05.07.2018 / 19:23
1
answer

How to remove disabled from a button in different tables using ng-repeat in Javascript?

I have a question about the disabled. I have an array of pessoas that I want to include in an array of empresa . I use data-ng-repeat to display the pessoas in a table, where buttons are added to each row to be added in the...
asked by 15.07.2018 / 05:19
1
answer

Help with date comparison in Java Script [duplicate]

I need to compare the final date of a service contract to put in a report that will have 4 status types: 1- contrato em vigor (Verde) 2- contrato próximo ao vencimento (Amarelo) 3- contrato vencido (Vermelho) 4- contrato com prazo indetermin...
asked by 27.06.2018 / 17:19
1
answer

Recording Null database AngularJS

Someone knows how to tell me what's wrong, since I'm writing an empty line and a line with the form's data. $scope.submit = function () { var formData = { 'clienteCNPJ': $scope.clienteCNPJ, 'clienteRazao'...
asked by 06.07.2018 / 01:06
0
answers

Fixed footer above keyboard using mobile browser

Using the AngularJS Material , I created a page to capture the user's address and inserted it into <footer> two buttons, Back and Continue . When the input is focused, the <footer> is fixed above the keybo...
asked by 21.06.2018 / 20:08
1
answer

Blocking routes for logged in users

I am making an application and now that it is almost complete I was testing the attacks. I noticed that with the ngRoute routes the application is vulnerable to url entries. Example, the application starts redirecting to the login page, but i...
asked by 21.06.2018 / 19:48