JavaScript Controller
app.controller("MarketController", function ($scope) {
$scope.dates = [
{ date: Date.parse("01/01/1999"), value: 123.456 },
{ date: Date.parse("02/05/2004"), value: 789.123 }
];
});
HTML Template
<li ng-repeat="item in dates">
<span>{{item.date | date: 'EEE'}}</span>
</li>
I am having trouble getting the correct date output using the filter, any suggestions on how to fix it?