version_service.js 221 B

12345678910
  1. var app = angular.module('sentinelDashboardApp');
  2. app.service('VersionService', ['$http', function ($http) {
  3. this.version = function () {
  4. return $http({
  5. url: '/version',
  6. method: 'GET'
  7. });
  8. };
  9. }]);