title: Protractor : How to wait for page complete after click a button?
body: <p>In a test spec, I need to click a button on a web page, and wait for the new page completely loaded.</p>
  
  <pre><code>emailEl.sendKeys('jack');
  passwordEl.sendKeys('123pwd');
  
  btnLoginEl.click();
  
  // ...Here need to wait for page complete... How?
  
  ptor.waitForAngular();
  expect(ptor.getCurrentUrl()).toEqual(url + 'abc#/efg');
  </code></pre>