Recently Angular Js released a beta version 2.0. Google already knows that many developers are successful building large applications using Angular Js. With the release of Angular Js beta, now developers can make more advance and complex application and eight time fast than Angular Js 1.
Google used Angular Js beta in large projects like adwords, green tea (Google’s internal CRM system), and Google Fiber.
Externally, Google worked with Ionic Framework on Ionic 2, Telerik on NativeScript, Rangle.io on Batarangle, and many more to integrate Angular Js beta.
So many apps are using Angular Js 1. If you have made your application using Angular Js 1 and want to upgarde to Angular Js 2 without changing your old code. This is where ngUpgrade comes in.
Google is supporting two paths for where teams want to upgrade their Angular 1 apps to Angular 2.
ngUpgrade lets you mix Angular 2 into your existing Angular 1 application.Angular 2 comes with built-in tools for migrating Angular 1 projects over to the Angular 2 platform.
ng-forward is the default solution for people who want to start writing code using Angular 2 conventions and styles that runs today on Angular 1. ngForward is basically for apps that are more sensitive to download size.
As you know Angular Js 2 is a beta version and improvement or work is still going on. The major improvements for final release are :-
- Reducing Angular 2’s payload size.
- Making the Angular CLI usable end to end throughout the development process.
- Creating a more developer-friendly route definition and link API for the Component Router.
- Support for animations.
- I18n and L10n support.
And there are even more cool things to come — some we’ve already started on including:
- More documentation, particularly around ES5/ES6 usage.
- Even better startup and runtime performance
- An architectural style guide
- Unit and end-to-end testing improvements
- More support for mobile web and installable mobile apps
- Material Design components for Angular 2
- A tools platform for deep IDE support
- Better support for ES6 and Babel
For tutorials and update about Angular Js 2 visit angular.io. From where, you can check out several developer guides and a handy cheatsheet covering the main features in Angular 2.
Reference website Angular blog