Posts by Vinicius Souza • 1 point
2 posts
-
0
votes1
answer119
viewsA: Ionic and Angularjs: How to filter repeated names in ngRepeat
app.filter('unique', function() { return function (arr, field) { var o = {}, i, l = arr.length, r = []; for(i=0; i<l;i+=1) { o[arr[i][field]] = arr[i]; } for(i in o) { r.push(o[i]); } return r;…
-
0
votes2
answers365
viewsA: Problems sending data to the Ionic database
You’re consulting an api right? Error 500 is usually a syntax error. I recommend using Postman (https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop), performing a post…