10
\$\begingroup\$

I am not at 1500 rep, so I cannot create tags, but the tag does not exist on Code Review. I just asked a question and had to tag it with , which is only version 1.0 according to the Angular community.

\$\endgroup\$
1

3 Answers 3

6
\$\begingroup\$

It seems like Stack Overflow does this differentiation, so we might as well do it:

  • SO's angularjs: Use for questions about AngularJS, the open-source JavaScript framework. Do NOT use this tag for Angular 2 or later versions; instead, use the "angular" tag.

  • SO's angular: Questions about Angular, the web framework from Google, including versions 2, 4, and all succeeding versions. Use this tag for questions which are not specific to an individual version. For the older AngularJS web framework, use the angularjs tag.

In addition both have some associated synonyms:

  • angularjs: angular.js, angular1.x
  • angular: angular2, angular4, angular4.x

To reduce confusion I would suggest that we keep the same tags as used on Stack Overflow, that is angularjs for the older stuff, and angular for the newer stuff.

\$\endgroup\$
4
\$\begingroup\$

I've messed around with Angular.js before, but have yet to try Angular (Angular 2+). But looking at Wikipedia it looks like Angular 2+ is not compatible with Angular.js. It's also not that much like what I remember Angular.js to be.

If this were just a normal version upgrade such as Angular 2+ v2 and v4, then I'd not recommend another tag. But due to library incompatibilities I've decided to create the , this is as Angular also goes by this name, and is unlikely to get Angular.js questions tagged with it. But also because Angular 2+ already has a fourth version out, and so saying your using Angular 2 v4 is a bit strange, when Angular v1 is Angular.js.


If this gets down-voted to oblivion, remove the tag, :)

\$\endgroup\$
6
  • \$\begingroup\$ The angular community calls Angular 1.x "angular.js" and Angular 2+ as "angular." It can be confusing, certainly. \$\endgroup\$
    – Jeff
    May 10, 2017 at 16:16
  • \$\begingroup\$ @Jeff Even more so when you can refer to both of them as Angular, ;P \$\endgroup\$
    – Peilonrayz Mod
    May 10, 2017 at 16:19
  • 1
    \$\begingroup\$ Typically, tags should reflect what the community who reviews the code, would expect. \$\endgroup\$
    – rolfl
    May 10, 2017 at 17:28
  • 4
    \$\begingroup\$ @rolfl Yes, the community refers to Angular 2+ as to "Angular". Whereas, Angular 1 is almost always called "Angular.JS". They are truly two different things which have very few in common and keep diverging over time. I am 100% in favor of having two separate tags. \$\endgroup\$ May 10, 2017 at 17:39
  • \$\begingroup\$ How will future versions of Angular affect this naming scheme? \$\endgroup\$
    – Mast Mod
    May 14, 2017 at 7:04
  • \$\begingroup\$ @Mast You'd change 'angular-2+' to whatever they're calling it after the future version of Angular, if that's 'angular-2-5' or 'angular-middle-version' that's fine. The new Angular tag we'd make would be called whatever they're calling it, unless it's 'angular', if it's 'angular' call it a recognised alternate name. As changing the meaning of the tag 'angular' one day seems beyond confusing. \$\endgroup\$
    – Peilonrayz Mod
    May 14, 2017 at 13:55
4
\$\begingroup\$

This link explains framework developers' perspective.

Three simple guidelines:

  • Use “Angular” for versions 2.0.0 and later (e.g. “I’m an Angular developer”, “This is an Angular meetup”, “The Angular ecosystem is growing quickly”)
  • Use "AngularJS" to describe versions 1.x or earlier Use the version number “Angular 4.0” "Angular 2.4" when needed to talk about a specific release (e.g. when talking about a newly introduced feature - “This is an introduction to feature X, introduced in Angular 4”, “I’m proposing this change for Angular 5”)
  • Use full semver version when reporting a bug (e.g. “This issue is present as of Angular 2.3.1”)
\$\endgroup\$
1
  • \$\begingroup\$ This even further accentuates why angularjs and angular should be the final tags used by us. \$\endgroup\$
    – holroy
    May 10, 2017 at 17:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .