$http({
url: 'api/players/players',
method: 'GET'
}).success(function(data){
$scope.players = data;
});
$routeProvider.when('/', {
templateUrl: 'partials/homepage.html',
controller: 'MyController'
});
<div ng-controller="MyController">