Tag: #angular

@ViewChild and @ViewChildren

ViewChild and ViewChildren provide access to the child component class from the parent component. Something like Inheritance.

If we want to invoke a specific function in child component from a parent component then we can make use of @ViewChild and @ViewChildren.

Continue reading “@ViewChild and @ViewChildren”


Directives in Angular (Part 1)

In this post, I’ll just go through the basics of Directives in angular. Directives is a lengthy topic so I’ll divide this into two parts.

This part just covers on how to create custom directives (pretty basic).

Angular comes with three types of Directives

Continue reading “Directives in Angular (Part 1)”