diff options
author | Adam Coldrick <adam@sotk.co.uk> | 2015-09-26 10:26:09 +0100 |
---|---|---|
committer | Adam Coldrick <adam@sotk.co.uk> | 2015-09-28 20:12:38 +0100 |
commit | 00e24462beb1f972900561e527bc601affe59aca (patch) | |
tree | 520842c2abb75850d62a69b6ba24f8f6df2c4f90 | |
parent | c3f4797f90af344324bacbf4128279270be6d5db (diff) | |
download | ciat-ui-00e24462beb1f972900561e527bc601affe59aca.tar.gz |
Try to fix stuff
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | js/main.js | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -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"> @@ -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'); - }]); + } +]); |