title: How to properly add document.addEventListener to Angular2?
body: <p>I've came across <a href="https://github.com/shi11/RemoteControls" rel="nofollow">cordova RemoteControl plugin</a> where, to listen to its event, the addEventListener is needed to be registered. </p>
  
  <pre><code>//listen for the event
  document.addEventListener("remote-event", function(event) {
  //do something
  });
  </code></pre>
  
  <p>Is it a proper way for me to do it? </p>