How to redirect to a page in ionic using res.redirect()


#1

I have a page in ionic called loginPage. In my backend, I’m using mean stack. I have a condition like

if(!user) {
res.redirect();
}

So, how can I redirect to loginPage.By using deep linking in ionic I have given segment as login. In html we use form action but What should I use inside the parenthesis of redirect in ionic?


#2

May be this will help you.