Understanding Component Communication using @Input()

Want your components to share information? Yes, they can! Say you have two components, a parent component (PC) and a child component (CC) and you want the data to move from the parent component to the child component or vice versa, you use COMPONENT COMMUNICATION/INTERACTION. There are multiple ways to achieve that. This article focuses on… Continue reading Understanding Component Communication using @Input()

Custom Directives in Angular

For those who do a lot of angular, you might have used ng-bind, ng-init somewhere in your project. These are the built-in directives that are provided to us by the angular team. We’ll see how to create our very own directive in angular. So to create one, we need to understand different types of custom… Continue reading Custom Directives in Angular

Data Binding in Angular

To understand data binding in angular, we need to know the meaning of binding the data. To put it simply, when the data changes its value, all the elements bound to it reflect changes automatically. Data Binding can be both one-way or two-way. There are 4 types of Data Binding in Angular: Interpolation Property Binding… Continue reading Data Binding in Angular

Video – Using @Input in Angular

This video describes how to use @Input decorator for component communication in Angular.  Some pre-requisites are: Angular CLI installed A hang of using Visual Studio Code Knowledge around what are components   Do not forget to share the points of improvement in the comments below. Happy learning!