Questions tagged as 'angularjs'

0
answers

Angular bind in directive to execute after event "change"

I'm working with a framework that uses Jquery to make its animations, and for data processing I use AngularJS. So that I can update my $ scope, I've created a directive that will bind the element and generate assign events to elements in it. so...
asked by 19.02.2016 / 14:22
0
answers

Register controller angularjs

I have this app and this html: link And I also have this controller and this html: link When I put it to run, it points me to an error that the controller was not found. However, if I take the controller out of the view and put i...
asked by 06.04.2016 / 16:38
0
answers

Message "Duplicates in a repeater are not allowed" on my console

I'm using angular and php. The following message appears in my console:    Error: [ngRepeat: dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: message in messages, Duplicate key: stri...
asked by 05.02.2016 / 20:32
0
answers

How to validate ZIP code with AngularJS?

I have an application where I use zip code to be part of the registry. Only the CEP is enough and it would need to be validated the CEP and at the end of the validation trigger a function. How can I do this? html: <input type="text" ng-m...
asked by 08.02.2016 / 19:20
0
answers

Unable to read data from Array

I'm having problems in the code below not being able to read the value $ scope.ids [i] .id, follows code: $scope.carregarEnderecos = function (id) { $scope.repeateEnderecos = []; $http.post(url_sistema + 'estabelecimento/listar_enderec...
asked by 02.02.2016 / 12:04
0
answers

How to maintain state of a select?

It can be in jquery or angularjs help. I have the following picklist (handmade): <divclass="form group"> <label class="control-label col-md-3">Selecionar Empresas:</label> <select id="select1" name="sel...
asked by 01.02.2016 / 19:41
1
answer

Custom orderBy funcition

I need to create a function to make a% custom% in a ordeBy , but I can not think logic that I should use to perform the sort. The requirement of sorting the list is as follows:    Resources must be displayed in ascending order of the...
asked by 31.01.2016 / 03:01
0
answers

AngularJs + (Spring MVC or Specification)

Galera, I'm starting the development of a system (java), and I'm in doubt about the technology. The system is totally restricted (login / password) and will be available on the internet, so I need security. I know a little Angular and wanted...
asked by 02.02.2016 / 17:14
1
answer

Error making REST call with AngularJS

I'm using $ http from angular to make REST calls on my server, however I'm having a problem: In 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. I have tried several...
asked by 23.02.2016 / 13:17
1
answer

File upload error for Java Controller using Angular

Opa, I am implementing a file upload, in a form, I can already select the file, pass it to AngularJS that recognizes it (even without the ng-model) and when I go to my java controller it gives the following error: p> org.springframework.web....
asked by 11.02.2016 / 13:46