2023-09-14 14:52:04 +07:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2023-09-20 15:10:35 +07:00
|
|
|
import { Title } from '@angular/platform-browser';
|
2023-09-14 14:52:04 +07:00
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
|
selector: 'app-root',
|
|
|
|
|
templateUrl: './app.component.html',
|
|
|
|
|
styleUrls: ['./app.component.css'],
|
|
|
|
|
})
|
2023-09-20 15:10:35 +07:00
|
|
|
export class AppComponent implements OnInit {
|
|
|
|
|
constructor(private titleService: Title) {}
|
|
|
|
|
|
|
|
|
|
ngOnInit(): void {
|
|
|
|
|
this.titleService.setTitle('Recipe Manager | Tao Bin');
|
|
|
|
|
}
|
2023-09-14 14:52:04 +07:00
|
|
|
}
|