VOOZH about

URL: https://www.geeksforgeeks.org/angular-js/parent-to-child-communication-with-metadata-in-angular-17/

⇱ Parent to Child Communication with Metadata in Angular 17 - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Parent to Child Communication with Metadata in Angular 17

Last Updated : 23 Jul, 2025

A parent component in Angular can transfer data or information to its child components using parent-to-child communication. This is an essential component of creating reusable and modular Angular applications. This is an overview of Angular 17's parent-to-child communication features.

Prerequisites

What is Parent to Child Communication

In Angular 17, parent-to-child communication describes the process by which a parent component transmits information or data to its offspring components. By allowing components to interact with one another in a hierarchical framework, this communication makes it possible to create modular and reusable Angular apps.

Steps to Create an Angular Project

Step 1: Create an Angular application

ng new parentchild

Step 2: Create employee component using the following command

ng generate component employee

Folder Structure

👁 Screenshot-(516)
Folder Structure

Dependencies

"dependencies": {
"@angular/animations": "^17.3.0",
"@angular/common": "^17.3.0",
"@angular/compiler": "^17.3.0",
"@angular/core": "^17.3.0",
"@angular/forms": "^17.3.0",
"@angular/platform-browser": "^17.3.0",
"@angular/platform-browser-dynamic": "^17.3.0",
"@angular/router": "^17.3.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.3"
}

Example

Parent Component

Child Component :

To start the application run the following command

ng serve --open

Output

👁 chrome-capture-2024-5-13-(1)
Parent to Child Communication with Metadata in Angular 17
Comment
Article Tags:

Explore