fcash-insight
Version:
A bitcoin block explorer and API.
22 lines (16 loc) • 464 B
text/typescript
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import 'rxjs/add/operator/map';
/*
Generated class for the ApiProvider provider.
See https://angular.io/docs/ts/latest/guide/dependency-injection.html
for more info on providers and Angular DI.
*/
()
export class ApiProvider {
public apiPrefix: string;
constructor(public http: Http) {
// TODO Make this an API call
this.apiPrefix = '/api/';
}
}