lib/nestene/ui/public/app/application.js in nestene-0.1.8 vs lib/nestene/ui/public/app/application.js in nestene-0.2.0
- old
+ new
@@ -19,14 +19,15 @@
autonsPromise.error(function(data, status, headers, config) {
$.bootstrapGrowl("getting autons failed!", { type: 'danger' });
});
}
+ $scope.getAutons();
$scope.intervalFunction = function() {
$timeout(function() {
$scope.getAutons();
$scope.intervalFunction();
- }, 1000);
+ }, 60000);
};
$scope.intervalFunction();
});