Cleanup.
This commit is contained in:
parent
60aa6310bb
commit
5100d0fd0c
@ -1,20 +1,16 @@
|
||||
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Http, Headers, RequestOptions, Response } from '@angular/http';
|
||||
import { Observable } from 'rxjs/Rx';
|
||||
|
||||
import { Logger } from "@nsalaun/ng-logger";
|
||||
import { Restangular } from "ngx-restangular";
|
||||
|
||||
import { Account } from './account';
|
||||
|
||||
@Injectable()
|
||||
export class AccountService {
|
||||
private url = '/api/account/';
|
||||
|
||||
constructor(
|
||||
private logger: Logger,
|
||||
private restangular: Restangular) {}
|
||||
private restangular: Restangular
|
||||
) {}
|
||||
|
||||
private all() {
|
||||
return this.restangular.all('account');
|
||||
|
Loading…
Reference in New Issue
Block a user