Open nalbion opened 9 years ago
What is the best way to update the $location.path value (from a tab, for example) without requiring the reload of the controller?
$location.path
The following link provides a work-around for ng-route, but it would make sense for this to be supported "out-of-the-box"
http://stackoverflow.com/questions/14974271/can-you-change-a-path-without-reloading-the-controller-in-angularjs
https://github.com/angular-ui/ui-router/issues/427
links to:
https://github.com/angular-ui/ui-router/blob/c72d8ce11916d0ac22c81b409c9e61d7048554d7/src/urlRouter.js#L212-L242
See issue "Option on $location to allow hash/path change w/o reloading the route" from AngularJS repo: https://github.com/angular/angular.js/issues/1699
Duplicate of issue #37?
What is the best way to update the
$location.path
value (from a tab, for example) without requiring the reload of the controller?The following link provides a work-around for ng-route, but it would make sense for this to be supported "out-of-the-box"
http://stackoverflow.com/questions/14974271/can-you-change-a-path-without-reloading-the-controller-in-angularjs