Difference Between Angular and AngularJS

vishwa dharmaratna
1 min readMar 9, 2021

--

Probably, for most of front-end developers, use to AngularJS and Angular framework made for building web applications. AngularJS, is a JavaScript based open-source front-end framework and is mainly used to develop single page web applications. It enriches the static HTML to dynamic HTML. Angular is a popular open-source Typescript framework created by Google for developing web applications.

Following are the important differences between AngularJS and Angular.

Architecture

Angular: Angular uses components and directives.

AngularJS: AngularJS works on MVC, Model View Controller Design.

Language

Angular: Angular code is written in typescript.

AngularJS: AngularJS code is written in JavaScript.

Mobile Support

Angular: Angular supported by all the popular mobile browsers.

AngularJS: Does not supported by mobile browsers

Expression syntax

Angular: () and [] attributes are used to bind data between view and model.

AngularJS: {{}} are used to bind data between view and model.

Routing

Angular: Angular uses @Route Config{(…)} for routing configuration.

AngularJS: AngularJS uses $routeprovider.when() for routing configuration.

--

--