pcyuen98 / covidAngular

0 stars 0 forks source link

KT --> 6 differences between Angular and AngularJS #24

Closed ccsyen96 closed 3 years ago

ccsyen96 commented 3 years ago

<-- 6 differences between Angular and AngularJS -->

image

Angular uses language of TypeScript is a superset of ECMAScript of ES6, which has backward compatibility with ES5. However, AngularJS is based on JavaScript language, which uses terms of scope and controllers while Angular uses a hierarchy of components.

image

AngularJS uses directives while Angular is component-based. In contrast, AngularJS is a framework with Model-View-Controller (MVC) that behave as the central component for manages data, logic, rules, and expresses applications behaviors, while Angular uses components of structural directives and attributive directives with templates.

image

Angular uses unidirectional change detection. Rather than using directives like AngularJS use, Angular makes hierarchical dependency injection to boost the framework’s performance more significantly.

image

Angular JS relies on third-party tools such as IDE and WebStorm while Angular uses the Command Line Interface (CLI) to reduce the time on application developments.

image

AngularJS does not provide mobile support while Angular supports mobile.

image

Angular JS is two-way binding feature ultimately reduces the efforts and time of construction. For Angular, it upgraded to a better structure with improved performance and speed.

Reference: https://stackify.com/angular-vs-angularjs-differences-between-angular-and-angularjs/