Skip to content

Instantly share code, notes, and snippets.

View samvloeberghs's full-sized avatar
💭
AMA about Angular, TypeScript, PWA, HTML5 and the web in general!

Sam Vloeberghs samvloeberghs

💭
AMA about Angular, TypeScript, PWA, HTML5 and the web in general!
View GitHub Profile
private setTitle(title: string) {
let fullTitle = this.config.seo.title;
if (title && title.length) {
fullTitle = `${title} - ` + this.config.seo.title;
}
this.titleService.setTitle(fullTitle);
if (this.isNode) {
this.metaService.addTags([
@samvloeberghs
samvloeberghs / link.service.ts
Last active May 4, 2018 14:22
Angular LinkService