I am trying to find out the total time that page is taking to render. We
have to log the time from desktop browsers and as well as from mobile
browsers to the database. So using developer tool bars like Chrome or IE
f12 may not be feasible. I have tried using '$viewContentLoaded' with
something like this within the controller.
$scope.$on('$viewContentLoaded', { log.timeEnd('timelogger'); });
But this method is called even before the angular custom directive is being
executed. I am not sure if I am doing something wrong.
Thanks,
s veerapally
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.