insight-ui-mangacoin
Version:
An open-source frontend for the Insight API. The Insight API provides you with a convenient, powerful and simple way to query and broadcast data on the monacoin network and build your own services with it.
18 lines (16 loc) • 402 B
JavaScript
;
angular.module('insight.status')
.factory('Status',
function($resource, Api) {
return $resource(Api.apiPrefix + '/status', {
q: '@q'
});
})
.factory('Sync',
function($resource, Api) {
return $resource(Api.apiPrefix + '/sync');
})
.factory('PeerSync',
function($resource, Api) {
return $resource(Api.apiPrefix + '/peer');
});