1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/app/faces/faces.component.ts
2019-02-14 18:25:55 -05:00

22 lines
461 B
TypeScript

import {Component} from '@angular/core';
import {FacesService} from './faces.service';
import {QueryService} from '../model/query.service';
@Component({
selector: 'app-faces',
templateUrl: './faces.component.html',
styleUrls: ['./faces.component.css']
})
export class FacesComponent {
constructor(public facesService: FacesService,
public queryService: QueryService) {
this.facesService.getPersons().catch(console.error);
}
}