mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
bdfed9d850
I think people new to promises, angular etc will find this example easier to understand with concrete identifiers from a simple use-case. The existing naming could be confused with promise/angular functionality (`promise` in the template, `resolved` etc). Also I made `resolve` private, as then it's clear what we're exposing for the template.