Input and Output are two decorators in angular responsible for communication between two components.
In this post we’ll look into how to pass the data to the components using @Input and to get the data back flowing with @Output.
Continue reading “@Input and @Output in Angular”
This post is a sequence of the previous directives part 1. In this post, I’ll just explain what each directive does.
Continue reading “Directives in Angular (Part 2)”
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)”
The ngModel is a directive used to bind the data from domain model in component class to view. Domain model is nothing but a property in the component class.
Binding can be done in two different ways with ngModel directive.
Continue reading “The ngModel”
Before we write code and go through components, templates in angular let’s see how angular does its compilation.
Continue reading “Angular Compiler”
In this first app let’s not write any code here and just see how to structure folders and look around the things first. It’s more like setup thing than to write some code.
Continue reading “Angular 2: First app”
Setting up angular 2 is very easy. Before we can start creating our first project in angular 2 we’ve to install node js.
After installing node js, we’ve to install Angular CLI to create/manage/run our application.
Continue reading “Setting up angular 2”