From 43714c1b1d8ac305b910d0f0b58b703cc9009e40 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 14 Oct 2016 09:02:44 +0200 Subject: [PATCH] Remove unused $http in controllers. --- accountant-ui/js/operations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accountant-ui/js/operations.js b/accountant-ui/js/operations.js index ce14598..1465cb3 100644 --- a/accountant-ui/js/operations.js +++ b/accountant-ui/js/operations.js @@ -71,7 +71,7 @@ angular.module('accountant.operations', [ * Controller for category chart. */ .controller('CategoryChartController', - function($rootScope, $http, Category, Balance) { + function($rootScope, Category, Balance) { var vm = this; var colors = Highcharts.getOptions().colors; @@ -214,7 +214,7 @@ angular.module('accountant.operations', [ /* * Controller for the sold chart. */ -.controller('SoldChartController', function($rootScope, $scope, $http, OHLC) { +.controller('SoldChartController', function($rootScope, $scope, OHLC) { var vm = this; // Configure chart for operations.