This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Automatically resolve promises #10956
Closed
Description
I want to suggest automatically resolve promises inside ng-repeat
, ng-bind
and other directives with the same behavior.
Now I have to write something in this way:
$http.get('/api/users').success(function(users) {
$scope.users = users;
});
It would be better to replace this with:
$scope.users = $http.get('/api/users');
Metadata
Metadata
Assignees
Labels
No labels