import {Meta, Title} from "@angular/platform-browser";

private meta: Meta,
private titleService: Title

this.titleService.setTitle('sample title');
this.meta.addTag({name: 'description', content: 'sample content'})