Skip to content

Instantly share code, notes, and snippets.

@wizardnet972
Created September 11, 2018 09:16
Show Gist options
  • Select an option

  • Save wizardnet972/e161042c35af454548409d9edb0aeb57 to your computer and use it in GitHub Desktop.

Select an option

Save wizardnet972/e161042c35af454548409d9edb0aeb57 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
import { Meta } from '@angular/platform-browser';
@Component({
selector: 'app-home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.css']
})
export class HomeComponent {
constructor(private meta: Meta) {
this.meta.addTag({ name: 'seo:title', content: 'talink title' });
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment