summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam@sotk.co.uk>2015-09-26 10:26:09 +0100
committerAdam Coldrick <adam@sotk.co.uk>2015-09-28 20:12:38 +0100
commit00e24462beb1f972900561e527bc601affe59aca (patch)
tree520842c2abb75850d62a69b6ba24f8f6df2c4f90
parentc3f4797f90af344324bacbf4128279270be6d5db (diff)
downloadciat-ui-00e24462beb1f972900561e527bc601affe59aca.tar.gz
Try to fix stuff
-rw-r--r--index.html4
-rw-r--r--js/main.js5
2 files changed, 5 insertions, 4 deletions
diff --git a/index.html b/index.html
index 875e0e4..66e9fec 100644
--- a/index.html
+++ b/index.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
-<html ng-app="ciat">
+<html>
<head>
<link href='https://fonts.googleapis.com/css?family=Sarpanch:800,400' rel='stylesheet' type='text/css'>
<link href='style.css' rel='stylesheet' type='text/css'>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
<script src="js/main.js"></script>
</head>
-<body>
+<body ng-app="ciat">
<h1><em>Baserock</em> <span>|</span> CIAT</h1>
<div class="visualisation" ng-controller="VisualisationController">
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');
- }]);
+ }
+]);