From c30ffe08daaa0112c0afdab75366f25822bd5407 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Sat, 26 Sep 2015 15:35:58 +0100 Subject: Inject $interval --- js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/main.js b/js/main.js index 4a118b7..3f219e9 100644 --- a/js/main.js +++ b/js/main.js @@ -6,8 +6,8 @@ app.config(['$httpProvider', function($httpProvider) { } ]); -app.controller('VisualisationController', ['$scope', '$http', - function($scope, $http) { +app.controller('VisualisationController', ['$scope', '$http', '$interval', + function($scope, $http, $interval) { function formatBuild(response) { var success = false; if (response.data.text) { -- cgit v1.2.1