title: Ionic Framework SQLite testing with browser
body: <p>I followed <a href="https://blog.nraboy.com/2015/01/deploy-ionic-framework-app-pre-filled-sqlite-db/" rel="nofollow noreferrer">this tutorial</a>.</p>
  <p>How can I test SQLite plugin and dbCopy with <code>ionic serve</code> on web browser?</p>
  <p>I found this:</p>
  <pre><code>if(window.cordova) {
        // App syntax
        db = $cordovaSQLite.openDB(&quot;myapp.db&quot;);
      } else {
        // Ionic serve syntax
        db = window.openDatabase(&quot;myapp.db&quot;, &quot;1.0&quot;, &quot;My app&quot;, -1);
      }
  </code></pre>
  <p>But it is just for OpenDB but not for copyDB.</p>
  <p>My developing environment is just Netbook.</p>
  <p>So It has no KVM and it is difficult to install android studio. So I wish to test on web browser.</p>