Posts by joserogerio84 • 24 points
6 posts
-
0
votes2
answers64
viewsA: How to return function correctly? (Variable Scope)
Just put the Return inside the get function: var buscarVagasPorEndereco = function(){ var enderecosVagas = []; $http.get("dados.json").then(function(response){ enderecosVagas =…
-
0
votes1
answer170
viewsA: Problem returning several Routes in the Laravel
If I understand the question correctly, just create a function to test what was passed as parameter: Route::get('/{param?}', function ($param="default") { if( $param == "default") return…
laravel-5answered joserogerio84 24 -
0
votes2
answers90
viewsA: Logic problem in Javascript
It was only necessary to reset the array of students at the start of the: //criar sala de aula com 4 alunos que possuem 4 notas e depois calcular a média de cada aluno. //Sem objeto var sala = [];…
javascriptanswered joserogerio84 24 -
0
votes2
answers58
viewsA: How to read json in angular1?
Actually it is already working, the problem is this field google.message_id, because it has a point in the middle. Do it like this: .controller('principalController', function($http, $scope, $sce,…
-
0
votes2
answers58
viewsA: How to read json in angular1?
To show all information just give a 'stringify' on 'notification': .controller('principalController', function($http, $scope, $sce, $stateParams, $ionicScrollDelegate, $timeout, $rootScope,…
-
0
votes1
answer169
viewsA: Program stopping responding in C - chained list
You would have to see how the list was started, the problem may be in the initialization of the values. And another thing, at the beginning of the code the aux’s shouldn’t just point to the…