Angular NgModule

Angular NgModule

Angular has its own modular system called ngModule, also known as Angular Modules. It is a vital part of every Angular application. In fact, all of the Angular applications have at least one Angular ngModule.

It’s simply a class with the ‘@ngModule” decorator Declarations, Imports, Providers and Bootstrap have to be specified here It is usually found in the…

Angular 2 vs Angular 4

Angular 2 vs Angular 4

Before the Angular 2 framework was released, we actually have the AngularJS framework or Angular 1. AngularJS, which is based on JavaScript, was initially released way back 2010. After several years, the Google team had planned to build a totally new Angular framework with different architecture and modules from the old AngularJS.  In Mid 2014, the design and…

Creating and Using Pipes [Angular Tutorial]

Creating and Using Pipes [Angular Tutorial]

Creating Pipes are done using angular-cli. To do that, let’s open our integrated terminal. Go to View>Integrated Terminal Or use the shortcut key combination shown In the terminal, type the command ng g pipe [pipeName]. Open the date-formatter.pipe.ts file and it will look like this.

All the needed parts of a pipe like imports,…