Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
export class CustomDataService {
static $inject = ["$http"];
constructor(private _$http: ng.IHttpService) { }
public async getData(): Promise<string[]> {
let result = await this._$http.get("/umbraco/api/CustomData/GetData") as ng.IHttpPromiseCallbackArg<string[]>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment