Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$location.path("/mypath") is not refreshing the page  #3651

@camilolopes

Description

@camilolopes

Hi guys,
I am having problem with $location.path("/mypath"). The page of which is redirected is not refreshed, I need to press F5 for getting the page refreshed. Anyone has passed for this? Here the code:

$scope.registerUser = function(){
var u = new User();
u.name = $scope.user.name;
u.email = $scope.user.email;
u.$save();
$location.path("/topmovie");

};

The app example is here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions