HiFederico,
$http.post('http://api.aog.com.uy/login/login
<http://www.google.com/url?q=http%3A%2F%2Fapi.aog.com.uy%2Flogin%2Flogin&sa=D&sntz=1&usg=AFQjCNEIm3coiU0l8hTo8FZEm1rNHBQ0kQ>',
credencial), will give you back some result. You can examine that result
and see if the users is indeed logged in.
Then you need a function that can checks if there is an existing session.
This is dependent on your auth service, but I assume that is in the docs of
your grails server.
depending on that outcome, you can simply store a value in your service
that you can check from anywhere you need it.
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.