Cleanup .

This commit is contained in:
Alexis Lahouze 2017-07-04 20:36:18 +02:00
parent 6f477b6d22
commit 003ad498db
2 changed files with 2 additions and 4 deletions

View File

@ -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() {

View File

@ -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();
};