From c3f4797f90af344324bacbf4128279270be6d5db Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Sat, 26 Sep 2015 10:20:06 +0100 Subject: Inject $http --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/main.js') diff --git a/js/main.js b/js/main.js index 760ab23..f44214b 100644 --- a/js/main.js +++ b/js/main.js @@ -1,6 +1,6 @@ var app = angular.module('ciat', []); -app.controller('VisualisationController', ['$scope', - function($scope) { +app.controller('VisualisationController', ['$scope', '$http' + function($scope, $http) { $scope.builders = $http.get('http://ciat.baserock.org:8010/json/builders'); }]); -- cgit v1.2.1