'unwrapping' promise fix angular 1.2.0-rc.3