Todo app in Angular

Almost everyone know how the to-do app’s work in general.

In this post, we’ll do a simple to-do app in Angular. A simple todo application will have the following things

  • Adding a to-do item.
  • Marking the to-do item as done.

Continue reading “Todo app in 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)”