diff options
author | Adam Coldrick <adam@sotk.co.uk> | 2015-09-26 15:35:58 +0100 |
---|---|---|
committer | Adam Coldrick <adam@sotk.co.uk> | 2015-09-28 20:20:10 +0100 |
commit | c30ffe08daaa0112c0afdab75366f25822bd5407 (patch) | |
tree | 8db9f5d8aa3267f749bd566b716cb88a945b5d2e | |
parent | 401549039d4ae6be45fee165487b391bde983d9d (diff) | |
download | ciat-ui-c30ffe08daaa0112c0afdab75366f25822bd5407.tar.gz |
Inject $interval
-rw-r--r-- | js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |