title: app.js: Uncaught SyntaxError: missing ) after argument list
body: <p>i working on ionic project and this is my app.js </p>
  
  <pre><code>var db = null; 
  
  angular.module('starter', ['ionic','starter.controllers', 'ngCordova'])
  
  .run(function($ionicPlatform) {
    $ionicPlatform.ready(function() {
      if(window.cordova &amp;&amp; window.cordova.plugins.Keyboard) {
        cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
        cordova.plugins.Keyboard.disableScroll(true);
       db = $cordovaSQLite.openDB("my.db", location: 0, iosDatabaseLocation: 'Default'); 
      $cordovaSQLite.execute(db, 
          "CREATE TABLE IF NOT EXISTS contacts(id integer primary key, firstname text, lastname text, mobile number, email text)"); 
  
      } else {
  
      db = openDatabase("my.db", '1.0', "My WebSql ", 2*1024*1024);
  
      db.transaction( function( tx) {
          tx.executeSql("CREATE TABLE IF NOT EXISTS contacts(id integer primary key, firstname text, lastname text, mobile number, email text"));
      }       
  
      }
      if(window.StatusBar) {
        StatusBar.styleDefault();
      }
    });
  })
  </code></pre>
  
  <p>The error is </p>
  
  <blockquote>
    <p>app.js:11 Uncaught SyntaxError: missing ) after argument list 
    missing ) in line 11</p>
  </blockquote>
  
  <p>Here is line 11: </p>
  
  <pre><code> db = $cordovaSQLite.openDB("my.db", location: 0, iosDatabaseLocation: 'Default');
  </code></pre>
  
  <p>I checked all brackets , there is no missing one 
  where is the problem</p>