The Angular 5 and Angular 4 frameworks are both built on the same principles: an abstracting layer for building applications with native code, which is then coupled with a rich set of native API’s to build a rich web application.
However, the former has a lot of advantages over the latter, while also offering many additional benefits.
Angular 5 is a lightweight, extensible framework with a clear focus on the web, while Angular 4 is built with the web in mind.
Here are the top three reasons why you should choose the former: Simplicity and simplicity of use.
The framework offers a very clear separation of concerns, making it easy to get started quickly.
The ease of development means that you can get a lot done with a few minutes of effort.
You can even pick up a new language (in this case JavaScript) without having to learn the entire framework.
The same is true for testing, which means you can use it in a way that suits your needs.
This makes it possible to start with very simple projects with a lot less code.
The benefit of having such a lightweight framework is that you don’t need to worry about whether a particular dependency is being used or not.
For example, if you need to test Angular 4 on your current Angular 3 project, you can do it easily and without even having to build it yourself.