Angular 2 provides a Title service that you can use to set the title of a page. This is good, of course, for SEO. Here's how to use it.
The service automatically creates the title element in the head if needed and also sets the value. The service also has a getter method to get the title.