You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$scope.posts = PostsModel.find(); // make ajax call and return promise
And then I use posts in my template in an ngRepeat, 3 blank elements are rendered in my web page BEFORE the promise is resolved. After the promise is resolved, blank elements remain in the rendered page. When I, however, do this:
In my controller, I do something like:
And then I use posts in my template in an ngRepeat, 3 blank elements are rendered in my web page BEFORE the promise is resolved. After the promise is resolved, blank elements remain in the rendered page. When I, however, do this:
It works just fine. I may be wrong, but I thought Angular is supposed to hold off rendering until a promise is resolved.
The text was updated successfully, but these errors were encountered: