title: Angular 2: pipes - How to format a phone number?
body: <p>I've searched here and there, and I am not able to find something specific about formatting a phone number.</p>
  
  <p>Currently, I am retrieving phone numbers form a JSON in the following format: </p>
  
  <p>25565115</p>
  
  <p>However, I want to achieve this result:</p>
  
  <p>02-55-65-115</p>
  
  <p>For that, I believe that I need to use a custom pipe and I don't think that there is a built-in one that does it automatically.</p>
  
  <p>Can you please give me some guidance on how to do so? </p>