From 4a6995be18b15de1834a39c8921a0e4109671bb6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 3 Jun 2016 22:08:03 +0200 Subject: First draft to use webpack instead of systemjs --- client/app/videos/shared/video.service.ts | 82 ------------------------------- 1 file changed, 82 deletions(-) delete mode 100644 client/app/videos/shared/video.service.ts (limited to 'client/app/videos/shared/video.service.ts') diff --git a/client/app/videos/shared/video.service.ts b/client/app/videos/shared/video.service.ts deleted file mode 100644 index a786b2ab2..000000000 --- a/client/app/videos/shared/video.service.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { Injectable } from '@angular/core'; -import { Http, Response, URLSearchParams } from '@angular/http'; -import { Observable } from 'rxjs/Rx'; - -import { Pagination } from './pagination.model'; -import { Search } from '../../shared/index'; -import { SortField } from './sort-field.type'; -import { AuthService } from '../../shared/index'; -import { Video } from './video.model'; - -@Injectable() -export class VideoService { - private static BASE_VIDEO_URL = '/api/v1/videos/'; - - constructor( - private authService: AuthService, - private http: Http - ) {} - - getVideo(id: string) { - return this.http.get(VideoService.BASE_VIDEO_URL + id) - .map(res =>