diff options
-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'); - }]); + } +]); |