javascript - $route.reload bug in angularjs -
scroll bar not shown while using $route.reload in angularjs
i want reload application while redirect 1 page page
so have use proper code
$location.path("/home"); $route.reload(); the location changed page redirected. browser scroll bar not shown. if doing force refresh browser, scroll bar shown. why?
actually have fount bad solution if use $window.location.reload(); instead of $route.reload(); scroll bar shown.
why bad solution:
$window.location.reload() manually load browser.
but why scroll bar not showing when use
$route.reload();?
Comments
Post a Comment