Angularjs promise not binding to template in 1.2

There are changes in 1.2.0-rc3, including one you mentioned:

AngularJS 1.2.0-rc3 ferocious-twitch fixes a number of high priority
issues in $compile and $animate and paves the way for 1.2.
This release also introduces some important breaking changes that in some cases could break your directives and templates. Please
be sure to read the changelog to understand these changes and learn
how to migrate your code if needed.
For full details in this release, see the changelog.

There is description in change log:

$parse:

  • due to 5dc35b52, $parse and templates in general will no longer automatically unwrap promises. This feature has been deprecated and
    if absolutely needed, it can be reenabled during transitional period
    via $parseProvider.unwrapPromises(true) api.
  • due to b6a37d11, feature added in rc.2 that unwraps return values from functions if the values are promises (if promise unwrapping is
    enabled – see previous point), was reverted due to breaking a popular
    usage pattern.

Leave a Comment