Skip to content

Instantly share code, notes, and snippets.

@localdevm
Created May 11, 2017 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save localdevm/4b6fe1f654d33187b558dee1a054c17c to your computer and use it in GitHub Desktop.
Save localdevm/4b6fe1f654d33187b558dee1a054c17c to your computer and use it in GitHub Desktop.
var app = angular.module('fitbuddy', []);
app.controller('MainController', function($scope, $http){
$scope.result = [];
$http.get("IPRETRACTED").then(function (res){
$scope.result = res.data;
console.log(res);
$scope.naam = res.voornaam;
console.log($scope.naam);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment