title: how to change url format in angular js with pipe
body: <p>i have url as below</p>
  
  <pre><code>http://localhost:9000/#/?name=angle,john,rechal&amp;email=angle@gmail.com,john@gmail.com,rechal@gmail.com
  </code></pre>
  
  <p>how to replace or convert "," with pipe "|" in angular as below</p>
  
  <pre><code>http://localhost:9000/#/?name=angle|john|rechal&amp;email=angle@gmail.com|john@gmail.com|rechal@gmail.com
  </code></pre>