I have angularJS app using ASP MVC WebAPI. I need to get a code for resetting the user password.
My routes look like this
$routeProvider.when("/reset/:token", {
controller: "loginController",
templateUrl: "/app/views/reset-password-confirm.html"
});
I noticed that if I remove % the route works but since the token string has characters like / I have to find a way of encoding it. Any way I can encode the string in ASP MVC webAPI so that it works in AngularJS?