title: Divide a string into sections in Angular
body: <p>I have a string of numbers (like an account number) that needs to be separated into smaller segments with a space in between (for example, 2 digits, 4 digits, 7 digits, 2 digits) and I cannot get this to display on the page. This is a generated number, so there is no user input. I need the number that comes back to be split into sections.  I am using Angular/Html.</p>
  <p>For example, currently an &quot;account number&quot; might display as 123456765456712 &amp; I need it to display 12 3456 7654567 12.</p>