Quantcast
Channel: Bonitasoft Community - Bonita 7
Viewing all articles
Browse latest Browse all 34

How to redirect a page using AngularJS (or JS)

$
0
0

Hi,

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:

  1. $window.location.href =$scope.properties.URL;//URL is the login page
  2. $window.location.reload();

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.


Viewing all articles
Browse latest Browse all 34

Trending Articles