diff --git a/src/operations/balance-chart.component.js b/src/operations/balance-chart.component.js index 4185e49..05ab0ba 100644 --- a/src/operations/balance-chart.component.js +++ b/src/operations/balance-chart.component.js @@ -35,7 +35,7 @@ var balanceChartModule = angular.module('balanceChartModule', [ bindings: { onUpdate: '&' }, - controller: function($routeParams, Balances, $element, $log) { + controller: function($routeParams, Balances, $element) { var vm = this; vm.loadData = function() { diff --git a/src/operations/category-chart.component.js b/src/operations/category-chart.component.js index 4e7249d..905821e 100644 --- a/src/operations/category-chart.component.js +++ b/src/operations/category-chart.component.js @@ -35,7 +35,7 @@ var categoryChartModule = angular.module('categoryChartModule', [ minDate: '<', maxDate: '<' }, - controller: function($routeParams, $element, Categories, Incomes, $log) { + controller: function($routeParams, $element, Categories, Incomes) { var vm = this; vm.loadData = function() { @@ -107,8 +107,6 @@ var categoryChartModule = angular.module('categoryChartModule', [ }; vm.$onChanges = function() { - $log.log('onChange', vm.minDate, vm.maxDate); - vm.loadData(); };