Remove unused $http in controllers.
This commit is contained in:
parent
cfe4904084
commit
43714c1b1d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user