Answers for "angular typescript set meta data"

1

angular typescript set meta data

export class HomeComponent {
 constructor(private meta: Meta) {
    this.meta.addTag({ name: 'description', content: 'How to use Angular 4 meta service' });
    this.meta.addTag({ name: 'author', content: 'talkingdotnet' });
    this.meta.addTag({ name: 'keywords', content: 'Angular, Meta Service' });
  }
}
Posted by: Guest on March-05-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language