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