add delay to wait AngularJS to update DOMs for tooltip rendering