Truemag

  • Home
  • Angular JS
  • C Sharp
  • DevOps




July 2018 1

New features in Angular 6

angular js

Below are some of the new features in Angular 6:

Some of the new features in angular 6 are very promising and will be very useful for the developers.

HTTP client libraries have been moved to @angular/common/http.

One of the most exciting features of Angular is the full support of Angular Elements, so now we will very easily able to use the angular components in other frameworks such as VueJs.

In the earlier versions of Angular we used to declare the provider in app.module.ts. With this new updated version we will be able to declare the provider in the service file itself.

A brand new renderer has come with Angular 6. Ivy which has taken the tree shaking to another level. Tree shaking is an optimization step that ignores the unused code. With Ivy renderer, there will be very fast applications with very small bundles.

New updates have been introduced for ng-add and ng-update which makes life easier for developers.

Now whenever we use ng new, a new workspace is being generated for the default application. So, we can have multiple apps in the same workspace.

With some modifications to ng add now it has become possible to add third-party libraries without any manual effort. For example now for adding angular material, we can use the below command.
[insertAdsense]

ng add @angular/material

Also, now we will be able to unregister the service worker.

Sign up for our newsletter to receive the latest news and event postings.

Recent Posts
  • Case Statement in Azure DevOps
  • How to solve file not found error in Linux?
  • How to delete local branch in git?
  • What is the git command to move branch pointer to different commit without checkout ?
  • What command tracks the revisions in git ?
Recent Comments
  • How to change directory in git bash? - Prashant's Blog on How to delete local branch in git?
  • eebest8 on How to use Http Post in Angular 4

  • Case Statement in Azure DevOps
  • How to solve file not found error in Linux?
  • How to delete local branch in git?
  • What is the git command to move branch pointer to different commit without checkout ?
  • What command tracks the revisions in git ?
  • Home
  • Angular JS
  • C Sharp
  • DevOps
  • June 2020
  • April 2020
  • February 2020
  • July 2019
  • June 2019
  • May 2019
  • January 2019
  • November 2018
  • October 2018
  • September 2018
  • July 2018
  • March 2018
  • February 2018
2018 © Prashant's Blog