Cleanup .
This commit is contained in:
parent
6f477b6d22
commit
003ad498db
@ -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() {
|
||||||
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user