Modern Angular Course 11: Passing Data to Child Components with input() @loianegroner
Modern Angular Course 11: Passing Data to Child Components with input()  @loianegroner
Uploaded April 2026 | Updated November 2026, 2 days ago
In this video, we continue building the Modern Angular course project by connecting real data to our product cards. In the previous video, we rendered a list of products using signals and @for — but each card still showed placeholder content.

Now we use Angular's modern signal-based input() API to pass product data from the parent ProductsGrid component to each child ProductCard. By the end, every card displays real product information, and we understand both required and optional inputs.

In this video, you'll learn:
• How parent-to-child communication works in Angular
• How to create a required input with input.required
• How to read input signals in templates with parentheses
• How to pass data from parent to child using property binding
• How to create optional inputs with default values using input(defaultValue)
• The difference between the modern input() API and the legacy @Input() decorator

📦 Source code repository:
github.com/loiane/modern-angular

🎥 Full Modern Angular course playlist:
youtube.com/playlist?list=PLGxZ4Rq3BOBqJfR254ZMuBfFRMeyr162U

📌 This course is for:
• Developers new to Angular
• Developers upgrading from older Angular versions

🔔 Subscribe to follow the full Modern Angular course.

⏱️ Chapters
00:00 Welcome & Context
00:31 Parent-to-Child Communication Pattern
01:26 Creating a Required Input with input.required()
03:07 Legacy @Input() Decorator Comparison
04:18 Seeing the Required Input Error
04:44 Rendering Input Data in the Template
05:37 Passing Product from Parent with Property Binding
06:54 Optional Inputs with Default Values
08:33 Common Pitfalls
09:04 Cleanup & Recap
09:34 What's Next

#ModernAngular #AngularCourse
Modern Angular Course 11: Passing Data to Child Components with input()CRUD Angular + Spring | 44: Persistência de Enums no JPA (parte 2)CRUD Angular + Spring | 54: Usando Classe Utilitária no FormArrayCurso Angular #135: Upload de Arquivo: Formulário Upload com Bootstrap 4CRUD Angular + Spring | 13: Ambiente Java + Maven para SpringModern Angular Course 15: Add to Cart with output()Modern Angular Course 02: Development Environment SetupCurso Angular #131: Http PUT Atualizando CursosCRUD Angular + Spring | 48: Curso-Aulas: Interface AulasCurso Angular #132: Http DELETE: Popup de Confirmação para remover CursosCurso Angular #101: Formulários: Serviço de consulta CEP + provideInCurso Angular #144: Http: Pesquisa/Busca com Programação Reativa
Loiane Groner |

Modern Angular Course 11: Passing Data to Child Components with input()

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER