Remove unused $http in controllers.

This commit is contained in:
Alexis Lahouze 2016-10-14 09:02:44 +02:00
parent cfe4904084
commit 43714c1b1d
1 changed files with 2 additions and 2 deletions

View File

@ -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.