Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ngShow/ngHide, ngIf): functions with zero args should be truthy
Previously, expressions that were a function with one or more arguments evaluated to true, but functions with zero arguments evaluated to false. This behavior seems both unintentional and undesirable. This patch makes a function truthy regardless of its number of arguments. Closes angular#5414
- Loading branch information