It’s often infeasible to rewrite a large Angular 1 app in Angular 2 all at once. In this article, you will learn how to migrate it gradually, component by component, module by module using NgUpgrade and the Angular Router.
Angular 2.0 final was made official just a few days ago and there’s never been a better time to dive in. In the last few weeks, we saw some pretty radical changes to the framework with the addition of the Ahead-of-Time(AoT) compiler, introduction of the @NgModule decorator and a new Forms Module. In this tutorial we are going to look at what’s changed with forms and more importantly how to handle form validation the right way with Angular 2.
Angular2 was built from the ground up with the primary goal of being fast and performant. While being fast right out of the box, the performance of Angular apps can be further enhanced really supercharge your app. These performance enhancements can be see as a pyramid where each level improves a certain performance metric.
Let’s look at each of these and how do they go about improving your app’s performance.