title: Angular 2 Reactive Forms, Masked controls
body: <p>I am making a Reactive Form in Angular 2, which allows the user to enter a phone number</p>
  
  <pre><code>        &lt;div class="col-md-4 top-space-small"&gt;
              &lt;div class="input-label" style="margin-bottom:0"&gt;Home phone:&lt;/div&gt;
              &lt;input type="text" 
                     formControlName="homePhone"
                     class="pf-input form-control"  /&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Is there a way to mask the user input in a phone format so they are typing in digits but as they do the displayed input value looks like (xxx) xxx-xxxx </p>