Infragistics Blog - Angular

What Are @HostBinding() and @HostListener() in Angular?
To understand @HostListener and @HostBinding, you should have basic knowledge about directives in Angular. There are three types of directives in Angular:

How to Create Your First Angular Reactive Form
Do you know how to create an Angular Reactive Form? Read this blog post to learn all about the process. Detailed steps included. Learn more.

Simplifying Content Projection in Angular
In Angular, content projection is used to project content in a component. Let’s take a closer look at how it works:

Angular Component Architecture Made Easy
A Note from Infragistics: Angular (formerly Angular 2) represents a huge departure from Angular JS (formerly Angular 1). While Angular JS used a more traditional MVC architecture that relied primarily on Controllers which controlled the interaction between a Model and the View, Angular has taken a more self-contained, composable Component based approach.

Communication Between Components Using @Input() in Angular
In this article, we will focus on how a child component can interact with a parent component using the @Input() property. We’ll also look into intercepting the input message and logging changes in the input message.
Simplifying Custom Two-Way Data Binding in Angular
Do you know how to handle two-way data binding in Angular? This how-to guide will show you how to simplify the process. Read more now.

Introduction to Angular 2 Components
A component is a main building block of an Angular 2 application, and an application may have any number of components. We can consider a component a particular view of the application with its own logic and data.

How To Create Custom Attribute Directive in Angular
In this post, we will learn how to create Attribute Directives in Angular. So let’s say we want to change the background color of an element; in that case we would apply the attribute directive to the element.

Using Jasmine & Karma to Write and Run Unit Tests for AngularJS Apps
Learn how to write unit tests with jasmine, how to run them with karma, and how to create proxies of AngularJS controls like filter, controller, and more.