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