All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webapp.scripts.components.title.title.service.js Maven / Gradle / Ivy

Go to download

Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2 (centraldogma-server)

There is a newer version: 0.70.0
Show newest version
'use strict';

angular.module('CentralDogmaAdmin')
    .factory('Title',
             function ($http, $q) {
               return {
                 get: function() {
                   var deferred = $q.defer();
                   $http.get('/title').then(function (response) {
                     deferred.resolve(response.data);
                   }, function (response) {
                     deferred.reject(response.status);
                   });
                   return deferred.promise;
                 }
               };
             });




© 2015 - 2024 Weber Informatics LLC | Privacy Policy