Git cleaning

This commit is contained in:
Vesa Juvonen 2017-06-12 14:02:45 +03:00
parent 0ec4881a81
commit 62cbeaecc0
1 changed files with 5 additions and 1 deletions

View File

@ -1,11 +1,15 @@
import { IError } from "../../interfaces/IError";
import * as angular from 'angular';
export class BaseService {
public static $inject: string[] = ["$http", "$q"];
public baseUrl: string;
constructor(private $http: ng.IHttpService, private $q: ng.IQService) {
this.baseUrl = (<any>window)._spPageContextInfo.webAbsoluteUrl;
this.baseUrl = (<any>window)._spPageContextInfo.webAbsoluteUrl;
}
public getRequest(query?: string, endPoint?: string): ng.IPromise<any> {