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:
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 ngif tag is misused several times as it is assigned to Angular related questions while the tag is about .Net.
- Should angularjs-ng-if or angular-ng-if be used? Another Angular directive, e.g. NgFor does not have a
angular-ng
prefix. The naming convention looks inconsistent.