Lines Matching full:function
1 window.angular && (function(angular) {
6 function(APIUtils) {
14 function(
39 ws.onopen = function() {
45 ws.onclose = function() {
49 // Websocket event handling function which catches the
51 ws.onmessage = function(evt) {
63 // function, adding ws under $scope etc.. but auto
70 $scope.loadServerHealth = function() {
71 APIUtils.getLogs().then(function(result) {
76 $scope.loadServerStatus = function() {
81 function(status) {
93 function(error) {
98 $scope.loadNetworkInfo = function() {
102 APIUtils.getNetworkInfo().then(function(data) {
107 $scope.loadSystemName = function() {
111 function(res) {
114 function(error) {
119 function loadData() {
129 $scope.logout = function() {
130 userModel.logout(function(status, error) {
139 $scope.refresh = function() {
147 setTimeout(function() {
153 $rootScope.$on('user-logged-in', function(event, arg) {
157 $scope.$on('$destroy', function() {