I see many references to ng2 in most of the blogs that talk about Angular 2.
What does this ng2 refer to? Is ng2 the CLI of Angular 2?
Angular1.x
is popular by its in-built directives start with ng
.ng-###
eg ng-hide, ng-show & etc.
So everyone started calling Angular1.x
by ng
or ng1
(ng1
after Angular2.0
came).
Later, Angular2.0
came up so people started calling it ng2
.
Now Angular1.x
is known as former version of Angular that is ng
or ng1
.
and
To refer to Angular2.0
, people use ng2
term,
People have already started using ng2
name everywhere to refer to Angular2.0
eg. blogs, Stackoverflow etc.
Please take a note that Angular2's directives don't start with ng2-###
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