blob: a6a9cc5a16cb19159f4400a4a3ffd2a80748192a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
'use strict';
function kamonCtrl($scope, ActorSystemMetrics) {
$scope.actorSystemMetrics = [];
$scope.startPolling = function() {
setInterval(function() {
$scope.getActorSystemMetrics()
}, 3000);
}
$scope.getActorSystemMetrics = function() {
var actorSystemMetrics = ActorSystemMetrics.query(function() {
$scope.actorSystemMetrics = actorSystemMetrics; //.concat($scope.actorSystemMetrics);
//$scope.getActorSystemMetrics();
});
}
}
function myctrl($scope, $http) {
}
|