angular/angular.js — pull request #3278 by chirayuk (2013-07-18 22:24:55+00:00)
Title: fix($parse): unwrap promise when setting a field

This fixes an inconsistency where you can't call the setter function
when the expression resolves to a top level field name on a promise.

Setting a field on an unresolved promise will throw an exception. (This
shouldn't really happen in your template/js code and points to a
programming error.)

Closes #1827