title: Ionic + AngularJs + Token based authentication
body: <p>I've set up a standard Ionic Framework (with <code>ionic start myapp tabs</code>), and I've got a Laravel PHP backend on the other side (which has the database and so on).</p>
  
  <p>Now what I want is to ask the database of my backend from my mobile-app (it'll be a native app, compiled by PhoneGap). There's problems with CORS to be solved, it seems, and I've read a lot of approaches on how to do it, but none really worked.</p>
  
  <p>What is a good way to authenticate (token-based) to my external backend server, and then, once authenticated ask the server API for various things? Does anyone additionally have a good tutorial and/or working example?</p>