Hi George,
Well, you have to disable caching of the templates if you want to do this.
partials are cached by default.
In your case the simplest solution might be, adding the userid to the
partial's urls. This will use the caching, for every user. if this isn't
enough, add a timestamp/version/whatever to the partials.
there are many way's but for simplicity, lets say, that your userID is in
the $rootScope. (this means it is available everywhere, except in isolated
scopes!
then you reference to your pariola like this:
<div ng-include='mypartial.html?userid={{userId}'>
This is out the top of my hat, and completely untested tough, but it should
work!
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/groups/opt_out.