home.component.ts
angular/comprehensive-demo/src/app/features/dashboard/home/home.component.ts
/**
* Home Component
*
* Landing page component that demonstrates:
* - Component basics
* - Data binding
* - Template expressions
*/
import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterLink } from '@angular/router';
@Component({
selector: 'app-home',
standalone: true,
imports: [CommonModule, RouterLink],
templateUrl: './home.component.html',
styleUrls: ['./home.component.scss']
})
export class HomeComponent {
title = 'Welcome to Angular Comprehensive Demo';
description = 'This application demonstrates core Angular concepts and best practices.';
features = [
'Components & Templates',
'Data Binding',
'Directives',
'Services & Dependency Injection',
'Routing & Lazy Loading',
'Forms (Template + Reactive)',
'HTTP & REST API',
'RxJS & Observables',
'Guards & Interceptors',
'State Management',
'Pipes',
'Storage (LocalStorage, SessionStorage, Cookies, IndexedDB)'
];
}
Artigos relacionados
server.js
server.js — javascript source code from the angular learning materials (angular/comprehensive-demo/server/server.js).
Ler artigo →app.component.ts
app.component.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/app.component.ts).
Ler artigo →app.config.ts
app.config.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/app.config.ts).
Ler artigo →app.routes.ts
app.routes.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/app.routes.ts).
Ler artigo →auth.guard.ts
auth.guard.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/core/guards/auth.guard.ts).
Ler artigo →role.guard.ts
role.guard.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/core/guards/role.guard.ts).
Ler artigo →