So Angular programmers, are you tangled with the old version of Angular 2 or 4? Well, it’s time to upgrade to new version of productivity. Angular 5 known as Pentagonal-donut is released with various new opportunities for developers like better performance, small bundling and more.

Angular is Google product, hence it is maintained by Google. The platform enables you to blend different declarative templates, the end-to-end tools, dependency injection and integrated methods to solve the complexities faced by Angular developers. The known platforms like Google Adwords, Google Adsence, Google fiber use Angular to give an edge to the user interface.

Http Deprecated The version prior to Angular 4.3 had @angular/http module for generating HTTP requests in any Angular applications. The team behind Angular development has now deprecated HTTP in their latest version Angular5. However, the HttpClient API included in Angular 4.3 and a part of @angular/common/http package is now suggested for use in each app. The features of HttpClientAPI are : – It has typed, synchronous response for body access having support for JSON body types. – Now JSON is not required to be explicitly parsed, you can use it as default. – The interceptors enable middleware logic to be included into the pipeline. – Immutable request/response objects. – Post-request verification & flush based testing framework.

Multiple Export Alias in Angular 5 Angular 5 enhances its productivity by allowing the developers to give multiple names to the components and directives at the time of exporting. This change of exporting a component with various names can assist users to migrate without breaking changes.

Internationalized Number, Date, and Currency Pipes Angular 5 came is launched into the market with new number, date and currency pipes which will help you to increase standardization across browsers and diminish the requirement of i18n polyfills. The currency pipes serves you required locale support and configurations for any locales you need. In order to access the old pipes, you will need to include the DeprecatedI18NPipesModule after the CommonModule. “import { NgModule } from ‘@angular/core’; import { CommonModule, DeprecatedI18NPipesModule } from ‘@angular/common’; @NgModule({ imports: [ CommonModule, // import deprecated module after DeprecatedI18NPipesModule ] }) export class AppModule { }”

Improved Decorator Support in Angular 5 The latest version of Angular now supports the function of expression lowering in decorators for lambdas, the value of useFactory, useValue and data in object literals. Moreover, rather than using a lambda we can use a named function like – In Angular 5 Component({ provider: [{provide: ‘token’, useFactory: () => null}] }) export class MyClass {} Before Angular 5 Component({ provider: [{provide: ‘token’, useValue: calculated()}] }) export class MyClass {}”