From 7235cccbb865bfdc2229f1015d8373258e532c32 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Sat, 26 Sep 2015 10:18:58 +0100 Subject: Use AngularJS in index.html --- js/main.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/main.js') diff --git a/js/main.js b/js/main.js index 149564d..760ab23 100644 --- a/js/main.js +++ b/js/main.js @@ -1 +1,6 @@ var app = angular.module('ciat', []); + +app.controller('VisualisationController', ['$scope', + function($scope) { + $scope.builders = $http.get('http://ciat.baserock.org:8010/json/builders'); + }]); -- cgit v1.2.1