title: Restricted pages with client side templating
body: <p>We've always used server side templates ( .JSP ) for web apps but now we're using Angular for a big project. It starts making sense to use client side templates, although some security questions have risen...</p>
  
  <p>Is it possible at all to prevent the user from accessing a certain template that should only be viewed if he is logged in? Seems easy enough to just hack it away using developer tools or firebug..</p>
  
  <p>A way to control this, would be to return the view from the server, but wouldn't I loose all the goodies from Angular ?</p>