title: How to use "executeScript" method of inAppBrowser plugin in ionic 2?
body: <p>I have this code in a click event</p>
  
  <pre><code>let browser = new InAppBrowser('http://example.com/test', '_self');
  browser.executeScript({code: "(function() { alert(123); })()"});
  </code></pre>
  
  <p>When i click the button, inAppBrowser opens the page, but the script doesn't run.<br>
  I closed the browser and then clicked the button again, now the script does run.  </p>
  
  <p>Why it's not running for the first time?</p>