There are so many people who are confused between Angular & AngularJS, here the solution is:
AngularJS: AngularJS is javascript based front-end framework for developing SPA. it is originally developed in 2009.
Angular: Angular is TypeScript based web framework. it is a complete rewrite of AngularJS. Angular announced in 2014 and first stable version released 2016.
Difference between Angular & AngularJS:
Angular:
-
Uses components and directives. Components are the directive with a templates.
-
Written in Microsoft's Typescript language, which is a superset of ECMAScript 6 (ES6).
-
Supported by all the popular mobile browsers.
-
properties enclosed in () and [] are used to bind data between view and model.
-
Hierarchical Dependency injection system used.
-
uses @Route Config {(...)} for routing configuration.
-
better structure compare to AngularJS, easier to create and maintain large applications but behind in AngularJS in case of small applications.
AngularJS:
-
Support Model-view-controller design. the view processes the information available in the model to generate the output.
-
Written in JavaScript.
-
Does not supported by Mobile browsers.
-
ng-bind is used to bind data from view to model and vice versa
-
it uses $routeprovider.when () for routing configuration.
-
Does not use Dependency Injection.
-
it is less manageable in comparison to Angular.