Angular 2Page title


Introduction

How can you change the title of the page

Syntax

  • setTitle(newTitle: string): void;
  • getTitle(): string;