Add newEntry initialization on controller init.

This commit is contained in:
Alexis Lahouze 2015-07-15 15:11:25 +02:00
parent b8ea699f40
commit bbc8e051f0

View File

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