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.