angular/angular.js — pull request #5605 by btford (2014-01-02 23:18:06+00:00)
Title: 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 all functions truthy regardless of its number of arguments.

Closes #5414