title: Angular 8 ctrlKey and metaKey equivalent?
body: <p>I have a web application written in Angular 1.x which allows the user to ctrl-click (or cmd-click on Mac) on an anchor link to open it in a new tab. An unmodified click changes the DOM content instead of reloading the page at the new path. The Angular 1.x code looks like:</p>
  
  <pre><code>&lt;a ng-click="nav.go(e.path,$event)" href="{{::e.path}}"&gt;{{::e.title}}&lt;/a&gt;
  </code></pre>
  
  <p>And in the Angular 1.x controller:</p>
  
  <pre><code>if (e.ctrlKey == 1 || e.metaKey == 1) {
      // allow page to be opened in a new tab
      return false;
  }
  e.preventDefault();
  e.stopPropagation();
  ...continue by doing ajax and DOM replacement instead
  </code></pre>
  
  <p>Now the application is being upgraded to Angular 8, but the Event class does not have ctrlKey or metaKey. Is there an alternate way to detect these two modifiers in Angular 8?</p>