Hi Zoltan,

You don't need a shared config, or custom http headers for the solution to 
work!
However, you need something on your back-end. If you want to compare 
versions, you need to to get one off the variables from somewhere else 
don't you?
you can't compare the front-end version to itself.

Easy way, use a version number on your builds. On your backend, create a 
way to serve this number to the frontend. It does not matter how.
you can use any means available, (websockets, SSE, long polling, regular 
ajax, polling with an $timeout, an $decorator on $http, some other 
forgotten option). Depending on your needs you need
to settle on something. If there is a new version available, you can handle 
that.

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.

Reply via email to