-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.component.ts
More file actions
32 lines (31 loc) · 826 Bytes
/
app.component.ts
File metadata and controls
32 lines (31 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
/**
* Main App Component
*
* This is the root component of the Todue Angular application.
* It serves as the main container and handles the overall application layout.
*
* Features:
* - Router outlet for navigation
* - Global application styling
* - Main layout structure
*
* @Component - Angular decorator that marks this class as a component
*/
@Component({
selector: 'app-root',
standalone: true,
imports: [RouterOutlet],
templateUrl: './app.component.html',
styleUrl: './app.component.scss'
})
export class AppComponent {
/**
* Current Year
*
* Used for displaying the current year in the footer.
* Automatically updates each year.
*/
currentYear: number = new Date().getFullYear();
}