Commit abb135f6 authored by Hasini Piumika Alwis's avatar Hasini Piumika Alwis

service.ts

parent c53e567c
import {Injectable} from '@angular/core';
import { Observable } from 'rxjs/internal/Observable';
import {HttpClient} from '@angular/common/http'
@Injectable()
export class FacialExpression {
constructor(private http: HttpClient){}
detectedEmotion():Observable<Object>{
return this.http.get('/assets/data/face.json');
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment