Is it possible to compare two Date strings using Angular JS Expressions?
HTML
<body ng-controller="app">
<div>{{Today}}</div>
<div>{{ItemDate}}</div>
<div>{{ItemDate<Today}}</div>
</body>
Script
angular.module('app', [])
.controller('app', controller);
function controller($scope){
$scope.ItemDate="2018-07-16T14:23:57.566Z";
$scope.Today= new Date();
}
I am attempting to use ng-hide with {{ItemDate<Today}}
Can Angular Expressions perform this task? I wish to achieve this without modifying the script section.