title: Using a completely decoupled frontend with user authentication
body: <p>I'm playing with the idea of having a completely decoupled HTML5 frontend, but still user authentication for a web app. Is this possible or will I run into some heavy browser security issues?</p>
  
  <p>The idea is to have all static content delivered through a CDN on like example.com, and having it fetch dynamic data (and user authentication) through a separate subdomain, like api.example.com.
  This would speed up the loading time of the site, and I could keep the frontend stuff in a completely separate repo so that the developers don't have to worry about setting up the backend to develop and test new features.</p>
  
  <p>Is this already possible in some JS framework perhaps, backbone.js, angular.js, ember.js, knockout.js ?</p>