title: Prevent user from firing space in a textbox
body: <p>Previously, I dealt with the problem using jQuery as follows: </p>
  
  <pre><code>$("#textInput").keydown(function (e) {
    return e.which !== 32;
  });
  </code></pre>
  
  <p>How would you approach it with the new Angular and Typescript?</p>