November 20 2016

Angular 1 vs Angular 2 - Comparing Examples to Learn Angular 2

Since the release of Angular 2 Final I've been slowly going through my Angular 1 tutorials and converting them to Angular 2, both to help me learn the new Ng2 framework as well as share the code with other developers. I find it easiest to learn new technologies by building practical real world examples with them, this gives context about how all the pieces fit together which helps me remember and understand what I'm learning.

I thought it would be helpful to be able to quickly jump between the different versions of each example and compare how some of the same problems can be solved with Angular 1 vs Angular 2.

Angular 1 vs Angular 2 Comparison

Below I've included links to each of the posts that I've converted so far to make it easy for developers that are looking at upgrading from Angular 1 or learning Angular 2 to compare identical examples built with each of the frameworks.

Angular 1 Angular 2
AngularJS User Registration and Login Example & Tutorial Angular 2 User Registration and Login Example & Tutorial
AngularJS - Pagination Example with Logic like Google Angular 2 - Pagination Example with Logic like Google
AngularJS JWT Authentication Example & Tutorial Angular 2 JWT Authentication Example & Tutorial

Sponsored by