title: A directive to format phone number
body: <p>I was wondering how to automatically format a number in an input field using an angularjs directive?  When I type in an input field say 6042919283 I want it to be shown as 604-291-9283.</p>
  
  <p>Thanks</p>