Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between Angularjs and angular [duplicate]

Tags:

What is the Difference between Angularjs and angular(eg. cli and versions)?
I want to work Angular but I don't know differences for select one of them. I googled but don't explicitly mention differences between them.

like image 714
Farshid Shekari Avatar asked Oct 23 '17 13:10

Farshid Shekari


2 Answers

AngularJS is the first version of Angular.
AngularCLI is a tool used to generate angular components, They are not comparable.

What you might mean, is what is the difference between Angular and AngularJS.

The answer to this question is that AngularJS is the first version of Angular.
It works with javascript and it is still getting supported but it is not compatible with Angular.
I'd suggest you start with Angular (Can also be called Angular2 or Angular4).

It is very confusing, but to sum it up, AngularJS is an old version.
Angular is the newer version and since everyone is migrating to Angular.
I would suggest you learn Angular instead of AngularJS.

like image 66
P_Andre Avatar answered Sep 21 '22 09:09

P_Andre


AngularJS typically refers to Angular 1, or the original angular which has some differences between Angular 2+.
Some of the logic and keywords are different from 1 to 2+.

Angular CLI is a command-line interface for the current version of Angular, Angular 4.

Angular CLI provides a generator/framework for a new project using Angular.
The current documentation on angular.io is in Angular CLI.

like image 36
KyleJayMaxwell Avatar answered Sep 20 '22 09:09

KyleJayMaxwell