Remove unused $http in controllers.

This commit is contained in:
Alexis Lahouze 2016-10-14 09:02:44 +02:00
parent cfe4904084
commit 43714c1b1d

View File

@ -71,7 +71,7 @@ angular.module('accountant.operations', [
* Controller for category chart. * Controller for category chart.
*/ */
.controller('CategoryChartController', .controller('CategoryChartController',
function($rootScope, $http, Category, Balance) { function($rootScope, Category, Balance) {
var vm = this; var vm = this;
var colors = Highcharts.getOptions().colors; var colors = Highcharts.getOptions().colors;
@ -214,7 +214,7 @@ angular.module('accountant.operations', [
/* /*
* Controller for the sold chart. * Controller for the sold chart.
*/ */
.controller('SoldChartController', function($rootScope, $scope, $http, OHLC) { .controller('SoldChartController', function($rootScope, $scope, OHLC) {
var vm = this; var vm = this;
// Configure chart for operations. // Configure chart for operations.