title: Is there an explode function in angularjs as PHP does?
body: <p>In php when you want to explode a variable value just used the explode function:</p>
  
  <pre><code>$day = date("j", $exploded_line[0]);
  </code></pre>
  
  <p>In angularjs. I want to explode the date. I have <code>$scope.from</code>.</p>
  
  <pre><code>$scope.from = "2015-01-10";
  </code></pre>
  
  <p>I want to get only the day which is 10. Is there a explode function in angularjs? Thank you  in advance.</p>