An open API service indexing awesome lists of open source software.

https://github.com/dabeng/angular-basics


https://github.com/dabeng/angular-basics

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# angular-basics

## Component Communication
**best practice:** Whenever you don't have a direct parent → child relationship, use a (shared) service to share data and/or send events.

**bad practice:** You could use @Input() in parent component and data binding in the grandparent template to pass a value from grandparent to parent, and use the same mechanism -- @Input() in child and databinding in parent template -- to pass the parent's databound property to the child.