Add newEntry initialization on controller init.

This commit is contained in:
Alexis Lahouze committed 2015-07-15 15:11:25 +02:00
1 parent b8ea699f40
commit bbc8e051f0
1 file changed
+2
+2
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);