angular/angular.js — pull request #2172 by pdswan (2013-03-16 07:25:32+00:00)
Title: feat($parse):resolve promises returned from functions

change parser to resolve promises returned from functions on a scope.

Closes #990

after reading the discussion on https://github.com/angular/angular.js/pull/1676 i'm not sure how folks will feel about this, but the existing behavior was not what i expected and the change is nearly identical to how property level promises are resolved so figure i'll give it a shot.