Ok. I have a url setup to log a user out. On the server, there is no html. The session on the server simply gets destroyed, and then the user is redirected to an address.
This works fine with plain html, but with Angular i am having issues. I've been routing all main routes using $routeProvider.when('/foo', {templateUrl: '/foo.html', controller: 'Ctrl'})
and that works fine for normal templated routes.. however, if there is no template it will not work.
So, how do i support the route /logout
in the same fashion as above, when there is no html template?