I request the current date and time:
$ scope.currentDate = new Date ();
I "2017-10-04T12:24:42.572Z" : "2017-10-04T12:24:42.572Z" Then, on condition I want to display the 'Test' :
<p ng-if="currentDate < dev.data_block">Test</p> Where dev.data_block - 2017-10-04 11:09:51 Accordingly, the condition does not work. How to bring these values for comparison to one type?