javascript - angular promise after render all the data -
i have big data call angular
page ajax
.
i want know when browser finished object
my code
$http({}) .success(function(data){ deferred.resolve(data); log("get data"); }) .finally(function(data){ log("finally data"); });
my problem when call log
function seems happend when browser start ping server , not after complete object server.
of course object big data , take many time, , want know how can find second object complete client
Comments
Post a Comment