Is there a way to refresh an ng-include asking it to refetch the template from server?
i know i can remove the entry from the $templateCache via, $templateCache.remove('/templates/home'). but really ask the div to refresh the ng-include and thus repload it from the server.
usecase: apart from all other templates the home template is different whether you are logged in or not. it is so different that it is a separate template on the server. however it resides on the same route, the root of the app.
yet after a user refreshes the screen it loads the correct template, but when a user is logging in, the ng-include doesn't refresh. That is what i'm trying to fix.
but just emptying the templateCache does not fix this. as the view is not actually refreshed.