Sorry, I have made mistake in the last explanation. Application A would be
system of UI and server application. Also, application B would be system
of UI and server application. This is a scenario how it works:
1. User load UI of A app enter transaction id and click submit
2. Sumbit handler calls web service on A application server (with
transaction id as data) which in turn calls web service of B application
server
3. Now, we have transaction id in B application server and user is still on
UI of A app
4. Now, UI of A app redirect user to UI of B application to identify
himself on B system and finish processing. Transaction id (created from UI
of A app) is important for that processing
Step 4 is important. I would like to send transaction id from UI of A app,
as POST parameter, when redirecting user so that UI of B app can extract
that parameter.
So, my question is, can angular js app (app B in this case) extract that
POST parameter.
Thanks
Zlaja
On Thursday, September 11, 2014 2:55:16 PM UTC+2, Sander Elias wrote:
>
> Hi Zlatko,
>
> Hi, I did misread your question indeed! However, you still can use $locate
> to read out the URL.
> But as your angular app is running in the browser, you can't use it to act
> as a server.
> So you can't make your server do a get/put/post/* to a client.
> That being said. If you use web-sockets, or long-polling or another
> server-push/pull technique
> you can do what you want.
>
> Of coarse its much simpler that if your app detects an URL change to just
> do an $http.*('to_server') with the new parameters.
>
> 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.