title: programmatically restart an ionic app
body: <p>I would like to reboot my Ionic app programmatically.</p>
  
  <p>I found solutions to only reload the current view like <code>location.reload()</code>...but I would like the app the re-run the app.js, both for iOS and Android.</p>
  
  <p>Any idea ?
  Thanks</p>