diff options
Diffstat (limited to 'kamon-dashboard/src/main/resources/web/js/services.js')
-rw-r--r-- | kamon-dashboard/src/main/resources/web/js/services.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kamon-dashboard/src/main/resources/web/js/services.js b/kamon-dashboard/src/main/resources/web/js/services.js index 1eb21924..f40a0153 100644 --- a/kamon-dashboard/src/main/resources/web/js/services.js +++ b/kamon-dashboard/src/main/resources/web/js/services.js @@ -1,6 +1,8 @@ 'use strict'; -var kamonModule = angular.module('kamonServices', ['ngResource']); +/* Services */ -kamonModule.factory('ActorSystemMetrics', function($resource) { return $resource('metrics/dispatchers');}) -//kamonModule.factory('ActorSystemTree', function($resource) { return $resource('metrics/actorTree');})
\ No newline at end of file + +// Demonstrate how to register services +// In this case it is a simple value service. +angular.module('dashboard.services', []).value('version', '0.1'); |