Posts by PGz • 55 points
5 posts
-
2
votes3
answers763
viewsA: Configure angular with php server
You can send the data to php using $http.post or $http.get. .controller('BuscaCtrl',function($scope,$http) { // Faz a busca no php $http.get('<caminho do arquivo .php>')…
-
1
votes1
answer955
viewsA: Angularjs indexof de Object
I solved the problem in such a simple way. // Percorre todos os itens selecionados angular.forEach($rootScope.selectedBundle,function(value, key){ // Informa ao botão quais bundles são verdadeiros…
-
1
votes2
answers1298
viewsQ: Remove array from an array
I have the following data in an array var array = [ ["755", "20", "E", "274", $$hashKey: "0AK"], ["756", "20", "E", "274", $$hashKey: "0B7"], ["455", "30", "E", "159", $$hashKey: "0BQ"], ["757",…
-
1
votes1
answer955
viewsQ: Angularjs indexof de Object
Every time I select a Bundle, add in an array, example: Items are some data I picked up, I just passed a few for testing var items = [755, 20, "E", 274] $scope.selectBundle = function(){ var info =…
-
0
votes1
answer738
viewsQ: Angularjs Directive: $Scope does not update UI
Well, I’m trying to filter the books according to the area the person selects. So far so good, I can get the values of the area and the bank, but the UI does not update the listing. HTML <div…