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
J
James Davies committed
61906d3517428b6d52d3284b8d26d1a46e01dad7
Parent: 0bbd20f
Committed by Chirayu Krishnappa <chirayu@chirayuk.com>
on 7/31/2013, 11:22:24 PM