app/services/app-version-services.js
'use strict';
// This allows the application to query information about its version.
// The "app-version.json" file will be build during "docker build".
angular.module('app-version-services', ['ngResource'])
.factory('AppVersion', ['$resource', '$log', function($resource, $log){
return $resource('/app-version.json', {}, {
'query': {
method:'GET',
isArray: false,
},
});
}]);