2

Which tag should be used if there is a question about the Angular directive NgIf?

Available tags

In order to find the correct tag, ngif was queried in the tags section. The three most relevant results are as follows:

NGif is an open-source tool that creates the ability for .Net to make/read Animated Gifs

The ngIf directive removes or recreates a portion of the DOM tree based on an {expression}. If the expression assigned to ngIf evaluates to a false value then the element is removed from the DOM, otherwise a clone of the element is reinserted into the DOM.

an angular js core directive that toggles the presence of the targeted element in the dom

Discussion

  • It looks like the tag is misused several times as it is assigned to Angular related questions while the tag is about .Net.
  • Should or be used? Another Angular directive, e.g. NgFor does not have a angular-ng prefix. The naming convention looks inconsistent.
0

1 Answer 1

4

Should angularjs-ng-if or angular-ng-if be used?

The two tags mean exactly the same, so they should be synonymized. On the other hand, do we really need those tags? They seem rather specialized to me, but I'm not a domain expert here.

It looks like the ngif tag is misused several times as it is assigned to Angular related questions while the tag is about .Net.

Tags should be unambiguous, so the correct action is here to remove that tag on those questions (or replace it with one of the angular- ones). Be sure to improve other issues with the post (grammar etc.) as well, otherwise your suggested edits might get rejected.

2
  • 2
  • angularjs is way enough. It's pretty basic stuff. There is a high chance that the question would just be about something that didn't refresh because he didn't use dot notation or a typo.
    – Walfrat
    Dec 8, 2016 at 16:02

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