ng-bs-daterangepicker
ng-bs-daterangepicker copied to clipboard
ng-model notworking, when assigen iso-time string
I am encounter with ng-model, When I get time from server, Then I set a time to ng-model like this
$scope.date_rang.startDate = data.startDate; $scope.date_rang.endDate = data.endDate;
and data contain '2016-01-25T08:56:33.216Z' , Then I try to another way use new Date(), However, both way it not working for me
How can fix it or any solution
Thank you.