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: { bindings: {
onUpdate: '&' onUpdate: '&'
}, },
controller: function($routeParams, Balances, $element, $log) { controller: function($routeParams, Balances, $element) {
var vm = this; var vm = this;
vm.loadData = function() { vm.loadData = function() {

View File

@ -35,7 +35,7 @@ var categoryChartModule = angular.module('categoryChartModule', [
minDate: '<', minDate: '<',
maxDate: '<' maxDate: '<'
}, },
controller: function($routeParams, $element, Categories, Incomes, $log) { controller: function($routeParams, $element, Categories, Incomes) {
var vm = this; var vm = this;
vm.loadData = function() { vm.loadData = function() {
@ -107,8 +107,6 @@ var categoryChartModule = angular.module('categoryChartModule', [
}; };
vm.$onChanges = function() { vm.$onChanges = function() {
$log.log('onChange', vm.minDate, vm.maxDate);
vm.loadData(); vm.loadData();
}; };