Changing website title

This commit is contained in:
2023-03-18 17:17:50 +01:00
parent ae306bb89e
commit e5375edda8

View File

@@ -1,4 +1,5 @@
import { Component } from '@angular/core';
import {Title} from "@angular/platform-browser";
@Component({
selector: 'app-root',
@@ -8,5 +9,7 @@ import { Component } from '@angular/core';
export class AppComponent {
title = 'Cooper, Hillman & Toshi';
constructor() {}
constructor(private titleService: Title) {
titleService.setTitle(this.title)
}
}