angular.module('footApplication.services', [])
.factory('AllBet', function ($resource) {
return $resource('http://api.football-data.org/v1/soccerseasons/1/fixtures');
});
.controller("GetAllBet",function($scope,$http){
$http.get("https://edg.epa.gov/data.json").success(function(data){
$scope.teams=data.data;
console.log($scope.teams.conformsTo);
});
});