The ngSwitch is an Angular 2 structural directive, which allows us to Add/Remove DOM Element.It is similar to switch statement of C#. In this tutorial, we will look at the syntax of ngSwitch . We will show you how to use ngSwitch using an example code.
In this Angular 2 Webpack tutorial, we will take you through the process of creating the Angular 2 Application from scratch using Webpack as our module loader.
Angular 2 Application need to set up a lot of configuration files and libraries before getting up and running. You also need to take few decisions before you get started with Angular 2. All these are discussed in the Tutorial Installing and getting started with Angular 2
In this tutorial, we are going to build an Angular 2 Application using Angular 2 CLI. The Angular 2 CLI is a Command Line Interface (CLI), which helps you to get started with Angular 2 application. In this Angular CLI tutorial, we will look at how to create your first Angular 2 Application
In this Introduction to Angular 2 Directive, we are going to look at the Angular Directives. We will look at three types of directives that angular supports like Component, Structural and Attribute Directives. We also look the few of the most commonly used Angular2 directives.
The ngFor is an Angular 2 structural directive, which repeats a portion of HTML template once per each item from an iterable list (Collection). The ngFor is similar to ngRepeat in AngularJS