horseRaces including angular implementation