summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam@sotk.co.uk>2015-09-26 15:35:58 +0100
committerAdam Coldrick <adam@sotk.co.uk>2015-09-28 20:20:10 +0100
commitc30ffe08daaa0112c0afdab75366f25822bd5407 (patch)
tree8db9f5d8aa3267f749bd566b716cb88a945b5d2e
parent401549039d4ae6be45fee165487b391bde983d9d (diff)
downloadciat-ui-c30ffe08daaa0112c0afdab75366f25822bd5407.tar.gz
Inject $interval
-rw-r--r--js/main.js4
1 files changed, 2 insertions, 2 deletions
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) {