I have a registration page and after registration is done, it takes me to page afterregistration and says that email verification link sent to your mail. I get this done in my register controller, but issue I face is , After email validation is done , it has to redirect to my another page say Emailvalidationsuccess. How to get this done.
Register Controller
UserService.Create(json)
.then(function (response) {
if (response.json.response.statuscode == 0) {
console.log(response)
FlashService.Success('Registration successful', true);
$location.path('/afterregister');
} else {
FlashService.Error(response.json.response.statusmessage);
vm.dataLoading = false;
}
});
}
};
})();
