Author: Dawid Adach
AngularJS vs Angular2 vs Angular5?
If tried to search more information about angular on the web you might notice that it pops up under different names like
Angular 2 or
Angular 5. So what are the differences?
As the project was growing it was also getting more and more complex so the Angular team decided to rewrite it using TypeScript and that's how Angular 2 came into existence in 2016. You can (and should) think of Angular 2 as a totally different framework. It's not backward compatible.
Soon after releasing Angular 2, the core team has announced something which surprised a lot of developers - Angular 4.
Probably many developers including myself shared the same thought - Did I miss something? Is Angular for yet another new, not compatible framework? Luckily no :).
Due to fact that Angular consist of different modules
@angular/core 2.3.0 @angular/compiler 2.3.0 @angular/http 2.3.0 @angular/router 3.3.0
As you noticed, all the version were same except of router. To align all the versions, the Angular team decided to jump directly into version 4. In fact, it's not even a big upgrade. Furthermore Angular is on an aggressive schedule. They have released Angular 5 on November, 1st 2017. Angular 6 on May 3 2018, and Angular 7 is expected in Septemeber/October 2018 while Angular 9 in March/April 2019.
The Angular team decided to drop version suffix so there are no Angular 2, Angular 5. There is just Angular and specific release. Therefore keep in mind that whenever you will look for any resources regarding Angular on the net, AngularJS is totally different from Angular X, but Angular 2,4,5,6,7 are just newer version of the same framework and very often compatible with each other (so if you find some solution utilizing Angular 4, there is high probability that it will also work for Angular 5.
Previous lesson Next lesson
Spread the word: