title: How to make Ionic app work with an API written in Laravel but still works offline
body: <p>I would like to ask how to create an ionic app that talks to Laravel API but still works offline when there's no connection.</p>
  
  <p>Let's say i have to write a quiz mobile app in Ionic and it requests for Laravel API to retrieve the questions as well as store the scores in db.</p>
  
  <p>I'm just starting to learn Ionic and i'm really confused right now on how to approach this.</p>
  
  <p>What confuses me most are:</p>
  
  <ol>
  <li><p>Does the Ionic source live inside the Laravel source code w/c serves the API?</p></li>
  <li><p>If i want the Ionic app to be installable, should the Laravel source code be included as well during the compilation process?</p></li>
  </ol>
  
  <p>Thanks in advance for any help.</p>