This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ng-if always evaluates to false if first variable is an empty array #7989
Closed
Description
ng-if="var_empty_array || true" -> evaluates to false
ng-if="true || var_empty_array" -> evaluates to true
This is a logical inconsistency.
Example:
http://plnkr.co/edit/1I64ks2RpGOCnJXoUwD8?p=preview
Cheers.