I am preparing to build an UI for my scala application. I have some very good knowledge about Angular 1 and I know very little about Angular 2.
The question I am asking is whether I should use Angular 2 for my new application instead of Angular 1.
I googled this and read a few articles about things I already knew regarding Angular 2 vs Angular 1 but I am much more interested in the experts opinion regarding this subject. The reason I put the question here is that this subject didn't have any answer in the first two pages. My application is not big at this point and is not going to be that big.
So should I stick with Angular 1 or go for Angular 2? Why?
Angular 2 is a newer version of AngularJS, released in 2016. This version of the framework using TypeScript, which is an open-sourced programming language maintained by Microsoft. Angular 2 is more useful for developing mobile applications and includes higher performance speeds than AngularJS.
AngularJS had features like controllers, $scope, $scope variables, etc. However, in Angular 2, these features were replaced by new features namely components and directives. AngularJS Features: MVC Framework: The 'Model View Control' architecture of AngularJS is dynamic in nature.
Support policy and schedule It is then followed by 12 months of long-term support (LTS), during which only critical fixes and security patches are released. Angular versions v2 to v11 are no longer under support.
Each version of Angular has significant benefits, but there is much to gain in being up-to-date with the latest version. Angular is decidedly faster than AngularJS, has a mobile-driven approach, executes better with components, and enables smoother migration from earlier versions.
We were in the same situation for the brand new project. We decide to stick with Angular 1, because:
So, I think, if your poject plan is around 2 years or more - choose Angular 2. For fast forward stick with what you know.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With