Is it feasible to assign a custom object in $routeParams during a redirect to another partial view in AngularJS with
$location.path('/view2')
Can this custom object then be accessed and retrieved in the controller for view2?
The standard examples demonstrate how to achieve this by passing an ID in the URL - $location.path('/view2/ID') and retrieving it using $routeParams.ID. Is there a method to pass any JavaScript object instead?