Im stuck on a problem and would appreciate any help. I have read through lot of the discussions already but they dont seem to work for me.
//I have a date a
try this
html
Hello, {{newDate | date:'MM/dd/yyyy'}}!
JS
var myApp = angular.module('myApp',[]); function MyCtrl($scope) { var collectionDate = '2002-04-26T09:00:00'; $scope.newDate =new Date(collectionDate); }
Demo