diff options
author | Adam Coldrick <adam@sotk.co.uk> | 2015-09-26 10:18:58 +0100 |
---|---|---|
committer | Adam Coldrick <adam@sotk.co.uk> | 2015-09-26 10:18:58 +0100 |
commit | 7235cccbb865bfdc2229f1015d8373258e532c32 (patch) | |
tree | 34da9b931eb41d38d8451d29d24166dc78051f17 /js/main.js | |
parent | 2504e0164c5f4f6e73006a296140a82e167a5a5c (diff) | |
download | ciat-ui-7235cccbb865bfdc2229f1015d8373258e532c32.tar.gz |
Use AngularJS in index.html
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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'); + }]); |