AngularJS $location.path same url -
i wanting reload page manually, using
$location.path('/account'); correctly moves different page want use
$location.path('/account/messages'); while on /account/messages reload page nothing. correct code reloading?
thanks
alex
your question unclear, if want page refresh (like hitting f5), 1 solution @rabi answer.
but if want reload things under ng-view, re-initialized current route controller, use:
$route.reload(); also see: $route documentation
Comments
Post a Comment