Hello Filipe Thank you for the reply. Well the $http object was till now unknown for me.. there we can see how poor my AngularJS knowledge is till now.
But as far as i understood the documentation i am not able to bring up a browser window by this that takes over the control of the app. The idea behind all is the following, maybe i did not describe it well. The App is only thought a a "startUp wrapper" with stored credentials in form of a login token. That token is claimed in a first asynchronous request with user credentials asked for interactively. Later on when the token is known, the app only sets the headers an calls the django web page where the user gets logged in due the header automatically. At the moment I was using the JWT (http://getblimp.github.io/django-rest-framework-jwt/) to claim a token. But i do not know how to use this to let the user been logged in with the call of a browser window. Maybe I need tho turn over to TokenBasedAuthentification like described in (http://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication)? But then I will still have the same problem... How to bring the token into the headers and thenn call a page from the server rendered inside the browser in UI mode (not in the app as sub page) My idea was, that an phonegap app is nothing more than a browser rendered app. When I can create a request to a server to claim an Auth Token and be able to set this into the headers, the next Ui request to the server (launching another browser window by window.open()) will let me call directly to a restricted view. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/db6f6050-b1b9-4ea4-9729-94a3184c5e82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.