Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Netanel Basal NetanelBasal

🎯
Focusing
View GitHub Profile
@FrankMerema
FrankMerema / rest.service.ts
Created Jun 22, 2018
Testing Angular component with api service in OnInit (Spectator)
View rest.service.ts
import {HttpClient} from '@angular/common/http';
import {Injectable} from '@angular/core';
import {Observable} from 'rxjs/index';
export interface someObject {
}
@Injectable({
providedIn: 'root'
})