Ok I figured it out I needed to add * in route so it looks now like this
.when('/resetPassword/:code*', {//This * says to route to accept
all characters in string even /
title: "Reset password",
controller: "passwordRecoveryCtrl",
templateUrl: "Views/resetPassword.html",
authenticate:false
})
hope it can help somebody else out.Because there where / in route , angular
router accepted it like new route until I added this *
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.