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