How to redirect a page using AngularJS (or JS)
I'm trying to redirect the browser to the login page using AngularJS from an app page but I can't do it. I'm using this code from a custom widget:
That code loads the login page but in the custom page frame, not the window, then I got the login page embedded on my app page. ( Click here for viewing an example )
How can I redirect all the window?
Thanks in advance.
I've solved it and I share a simple custom widget that allows you to redirect the browser (I use it on a custom logout page).
What I really think you want is:
reload does exactly that reloads the window, you want to send it a new window completely.