title: Disable IE11 browser shortcut keys in Angular application
body: <p>I am trying to disable shortcuts keys for an Angular application. </p>
  
  <p>I am using the following code in an Angular component:</p>
  
  <pre><code>@HostListener('window:keydown', ['$event'])
   handleHotkey(event: KeyboardEvent){
    ...
    //Do Something 
    ...
    event.preventDefault();
  }
  </code></pre>
  
  <p>This works properly in Google Chrome, but it is not working in Internet Explorer 11.</p>
  
  <p>When I press ctrl+p then in IE11, print window opens along with the functionality which I defined in the function.</p>
  
  <p>What would be the correct way to do this in IE11 ?</p>