Add newEntry initialization on controller init.
This commit is contained in:
parent
b8ea699f40
commit
bbc8e051f0
@ -50,6 +50,8 @@ accountantApp
|
||||
$scope.newEntry = new Entries({});
|
||||
};
|
||||
|
||||
$scope.resetNewEntry();
|
||||
|
||||
$scope.setExtremes = function(e) {
|
||||
begin = moment.utc(e.min);
|
||||
end = moment.utc(e.max);
|
||||
|
Loading…
Reference in New Issue
Block a user