UNPKG

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.

25 lines (21 loc) 469 B
'use strict'; angular.module('insight.address').factory('Address', function($resource, Api) { return $resource(Api.apiPrefix + '/addr/:addrStr/?noTxList=1', { addrStr: '@addStr' }, { get: { method: 'GET', interceptor: { response: function (res) { return res.data; }, responseError: function (res) { if (res.status === 404) { return res; } } } } }); });