title: AngularJs - Open url in new tab
body: <p>I have an application with a public page and an admin page. I would like open the admin page in a new tab after login.
  I've tried this, after the login was successful, but to no effect. The public page (where the login is) is just being reloaded:</p>
  
  <pre><code>var url = $state.href('/admin/overview');
  $window.open(url, '_blank');
  </code></pre>
  
  <p>Any tips would be appreciated. 
  Thank you.</p>