What would be the best way to convert a mysql date format date into a javascript Date object?
mySQL date format is \'YYYY-MM-DD\' (ISO Format).
In AngularJS Way, Thanks to @Jonas Sciangula Street
.filter('toJSDate', function(){ return function (dateString) { return new Date(Date.parse(dateString.replace('-','/','g'))) }; })